From 7c09a9475a1e1654da053370fc34927ef058e80c Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 2 Oct 2024 15:03:00 -0700 Subject: [PATCH] rm --- src/components/Dialog/index.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index 4cb431462b..716ad154cf 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -89,20 +89,12 @@ export function Outer({ [open, close], ) - // @TODO DIALOG REFACTOR - what is this? rm i think? - // React.useEffect(() => { - // return () => { - // setDialogIsOpen(control.id, false) - // } - // }, [control.id, setDialogIsOpen]) - const context = React.useMemo(() => ({close}), [close]) return (