diff --git a/web/src/App.tsx b/web/src/App.tsx index 2f939880..87b7852c 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -154,7 +154,10 @@ export default function App() { <> - + diff --git a/web/src/routes/editProfile.tsx b/web/src/routes/editProfile.tsx index 25a4f975..a64941d5 100644 --- a/web/src/routes/editProfile.tsx +++ b/web/src/routes/editProfile.tsx @@ -94,7 +94,6 @@ export default function EditProfile() { function onPhotoError(err: Error) { enqueueSnackbar({ message: err?.message ?? "画像の更新に失敗しました", - autoHideDuration: 2000, }); } const [open, setOpen] = useState(false); diff --git a/web/src/routes/registration/steps/step2_img.tsx b/web/src/routes/registration/steps/step2_img.tsx index c6dcd2bc..a7bdf329 100644 --- a/web/src/routes/registration/steps/step2_img.tsx +++ b/web/src/routes/registration/steps/step2_img.tsx @@ -20,7 +20,6 @@ export default function Step2({ const notify = useCallback((message: string) => { enqueueSnackbar(message, { variant: "error", - autoHideDuration: 2000, }); }, []);