From f4e9abcd227649a668a4f35f282c4ed97c811214 Mon Sep 17 00:00:00 2001 From: Yana Date: Wed, 9 Apr 2025 22:33:34 +0300 Subject: [PATCH] fix build --- explorer-v2/src/components/modal/SimpleModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer-v2/src/components/modal/SimpleModal.tsx b/explorer-v2/src/components/modal/SimpleModal.tsx index 9ffc1c60cc..874e38cecc 100644 --- a/explorer-v2/src/components/modal/SimpleModal.tsx +++ b/explorer-v2/src/components/modal/SimpleModal.tsx @@ -27,12 +27,12 @@ type SimpleModalPropsOpen = { export type SimpleModalProps = SimpleModalPropsClosed | SimpleModalPropsOpen; const SimpleModal = (props: SimpleModalProps) => { + const theme = useTheme(); if (!props.open) { return null; } const { title, children, Actions, onClose } = props; - const theme = useTheme(); return (