Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove dead code
  • Loading branch information
Theodore Li committed Mar 25, 2026
commit b59dbd413f7f68b138e773e86607ab976f872034
1 change: 0 additions & 1 deletion apps/sim/components/emcn/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export {
ModalTabsTrigger,
ModalTitle,
ModalTrigger,
modalTitleVariants,
} from './modal/modal'
export {
Popover,
Expand Down
14 changes: 0 additions & 14 deletions apps/sim/components/emcn/components/modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import * as React from 'react'
import * as DialogPrimitive from '@radix-ui/react-dialog'
import * as TabsPrimitive from '@radix-ui/react-tabs'
import { cva } from 'class-variance-authority'
import { X } from 'lucide-react'
import { cn } from '@/lib/core/utils/cn'
import { Button } from '../button/button'
Expand Down Expand Up @@ -118,18 +117,6 @@ const MODAL_SIZES = {

export type ModalSize = keyof typeof MODAL_SIZES

const modalTitleVariants = cva('min-w-0 text-[var(--text-primary)] leading-none', {
variants: {
variant: {
default: 'font-medium text-base',
display: 'font-[430] font-season text-[24px] tracking-[-0.02em]',
},
},
defaultVariants: {
variant: 'default',
},
})

export interface ModalContentProps
extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
/**
Expand Down Expand Up @@ -399,7 +386,6 @@ export {
ModalContent,
ModalHeader,
ModalTitle,
modalTitleVariants,
ModalDescription,
ModalBody,
ModalTabs,
Expand Down
Loading