chore(web): curly braces (#5362)

This commit is contained in:
Jason Rasmussen 2023-11-28 15:16:27 -05:00 committed by GitHub
parent 5c1c174db1
commit 4d727708e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 8 deletions

View file

@ -9,8 +9,11 @@
const restoreUser = async () => {
const restoredUser = await api.userApi.restoreUser({ id: user.id });
if (restoredUser.data.deletedAt == null) dispatch('user-restore-success');
else dispatch('user-restore-fail');
if (restoredUser.data.deletedAt == null) {
dispatch('user-restore-success');
} else {
dispatch('user-restore-fail');
}
};
</script>