From 0a31b0f2440c1bf36ab7d34419c441c8692a6750 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 21 Jun 2024 09:42:39 +0100 Subject: [PATCH] update modal state hiding --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index bc17b408d0..ec50267e33 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -167,7 +167,7 @@ export function Workspace() { const hideFullMessage = () => { //eslint-disable-line - setState((prevState) => { + setModalState((prevState) => { return { ...prevState, showModalDialog: false, importSource: '' } }) }