Skip to content

Commit

Permalink
Close settings modal on save (#34)
Browse files Browse the repository at this point in the history
Closes the settings modal when the save button is clicked
  • Loading branch information
XiNiHa authored Aug 31, 2024
1 parent 93888e7 commit 339ea78
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 339ea78

Please sign in to comment.