Skip to content

Commit

Permalink
fix: rerender loop
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleDallas committed May 10, 2023
1 parent 0f3c1fa commit dcd9380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vendor/DashboardCards/UsersCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const UsersCard = ({openModal}: UsersCard) => {
}
});
setUsers(tmp.slice(0, 4))
}, [organization, allUser, users])
}, [organization, allUser])


return (
Expand Down

0 comments on commit dcd9380

Please sign in to comment.