We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ca92c6 commit c0965d0Copy full SHA for c0965d0
system/modals/GlobalModalManager.tsx
@@ -30,7 +30,7 @@ export default function GlobalModalManager() {
30
}}
31
key={state.key}
32
isClosing={isClosing}
33
- onClose={() => activeModal && hideModal(activeModal.key)}
+ onClose={() => hideModal(state.key)}
34
{...props}
35
/>
36
);
0 commit comments