Skip to content

Commit

Permalink
added forgotten .current
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDanz committed Mar 29, 2021
1 parent d1a1a2b commit 2491ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/augur-comps/src/stores/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export function useApprovalStatus({
if (forceCheck.current) forceCheck.current = false;
};

if ((forceCheck || isApproved !== APPROVED) && account) {
if ((forceCheck.current || isApproved !== APPROVED) && account) {
checkIfApproved();
}
return () => {
Expand Down

0 comments on commit 2491ab5

Please sign in to comment.