Skip to content

Commit

Permalink
remove void for dispatch in debouncedUpdateProfileData
Browse files Browse the repository at this point in the history
  • Loading branch information
luiqor committed Nov 24, 2024
1 parent d5fecd6 commit 79f0e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/edit-profile/profile-tab/ProfileTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const ProfileTab: FC = () => {
}
}

void dispatch(updateProfileData(payload))
dispatch(updateProfileData(payload))
}, 300)

const { hash, pathname } = useLocation()
Expand Down

0 comments on commit 79f0e84

Please sign in to comment.