Skip to content

Commit

Permalink
fix(members): fix call with undefined role in members as admin
Browse files Browse the repository at this point in the history
  • Loading branch information
emile-bex committed Aug 22, 2023
1 parent e515bae commit 75117e9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export function MemberList({
);

useDeepCompareEffect(() => {
fetchData(search, filters, role, offset, true);
if (role) {
fetchData(search, filters, role, offset, true);
}
}, [search, filters, role]);

useEffect(() => {
Expand Down

0 comments on commit 75117e9

Please sign in to comment.