diff --git a/src/components/Dialog/index.web.tsx b/src/components/Dialog/index.web.tsx index 6099efdd86..305c00e97a 100644 --- a/src/components/Dialog/index.web.tsx +++ b/src/components/Dialog/index.web.tsx @@ -6,12 +6,10 @@ import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useTheme, atoms as a, useBreakpoints, web} from '#/alf' -import {Text} from '#/components/Typography' import {Portal} from '#/components/Portal' -import {Button} from '#/components/Button' import {DialogOuterProps, DialogInnerProps} from '#/components/Dialog/types' -import {Context, useDialogContext} from '#/components/Dialog/context' +import {Context} from '#/components/Dialog/context' export {useDialogControl, useDialogContext} from '#/components/Dialog/context' export * from '#/components/Dialog/types' @@ -172,38 +170,25 @@ export function Handle() { return null } -export function Close() { - const {_} = useLingui() - const t = useTheme() - const {close} = useDialogContext() - return ( - - - - ) -} +/** + * TODO(eric) unused rn + */ +// export function Close() { +// const {_} = useLingui() +// const t = useTheme() +// const {close} = useDialogContext() +// return ( +// +// +// +// ) +// }