Skip to content

Commit 339ea78

Browse files
authored
Close settings modal on save (#34)
Closes the settings modal when the save button is clicked
1 parent 93888e7 commit 339ea78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/RightNavSetting.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default function RightNavSetting({
3232

3333
const onSubmit: SubmitHandler<PutSettingReq> = (data) => {
3434
putSetting(data);
35+
modalRef.current?.close();
3536
};
3637

3738
return (

0 commit comments

Comments
 (0)