From a84b2f9f2f64b1d434c5adbb12af6f7d76ba42ea Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 16 Nov 2023 08:18:59 -0800 Subject: Close active elems (react-query refactor) (#1926) * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes --- src/state/shell/drawer-open.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/state/shell/drawer-open.tsx') diff --git a/src/state/shell/drawer-open.tsx b/src/state/shell/drawer-open.tsx index a2322f680..061ff53d7 100644 --- a/src/state/shell/drawer-open.tsx +++ b/src/state/shell/drawer-open.tsx @@ -8,6 +8,7 @@ const setContext = React.createContext((_: boolean) => {}) export function Provider({children}: React.PropsWithChildren<{}>) { const [state, setState] = React.useState(false) + return ( {children} -- cgit 1.4.1