Skip to content

Commit

Permalink
remove await from reset avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnouv committed Apr 6, 2023
1 parent 7002e38 commit 3dd9c67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const useResetAvatarAction = (userId: string, onChange: () => void, onReload: ()

const onResetAvatar = async () => {
setModal();
await handleResetAvatar.mutateAsync({ userId });
handleResetAvatar.mutateAsync({ userId });
onChange();
onReload();
};
Expand Down

0 comments on commit 3dd9c67

Please sign in to comment.