fix
This commit is contained in:
@@ -42,7 +42,7 @@ export default function Profile({ user, setUser }: Props) {
|
||||
|
||||
if (response == null) setError(t("form.updateError"))
|
||||
else setUser(response)
|
||||
} catch (error) {
|
||||
} catch {
|
||||
setError(t("form.updateError"))
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user