From b098ec99f9528f16800dc4eb61aaab3972c25e64 Mon Sep 17 00:00:00 2001 From: Iha Shin Date: Sat, 31 Aug 2024 11:26:29 +0900 Subject: [PATCH] Close settings modal on save --- frontend/src/components/RightNavSetting.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/RightNavSetting.tsx b/frontend/src/components/RightNavSetting.tsx index 120fd79..12a1d67 100644 --- a/frontend/src/components/RightNavSetting.tsx +++ b/frontend/src/components/RightNavSetting.tsx @@ -32,6 +32,7 @@ export default function RightNavSetting({ const onSubmit: SubmitHandler = (data) => { putSetting(data); + modalRef.current?.close(); }; return (