Skip to content

Commit

Permalink
Close settings modal on save
Browse files Browse the repository at this point in the history
  • Loading branch information
XiNiHa committed Aug 31, 2024
1 parent 93888e7 commit 15ba944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/RightNavSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default function RightNavSetting({

const onSubmit: SubmitHandler<PutSettingReq> = (data) => {
putSetting(data);
modalRef.current?.close();
};

return (
Expand Down

0 comments on commit 15ba944

Please # to comment.