fix TS issue ter

This commit is contained in:
Michael
2021-08-31 14:32:23 +02:00
parent ffef6c81ce
commit 2434b7a448

View File

@@ -66,7 +66,7 @@ const Dashboard = ({ profile, session, plan }: DashboardProps): JSX.Element => {
throw error;
}
} catch (error) {
alert(error.message);
alert('There was an issue with the update');
} finally {
setLoading(false);
toast.success('Your profile has been updated');