Commit 66cc68a1 authored by Alex Kakiris's avatar Alex Kakiris
Browse files

Fix users page crash on refresh

parent 698be303
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ const Users = () => {
  });

  useEffect(() => {
    if (usersData.data) {
    if (usersData && Array.isArray(usersData.data)) {
      let filteredUsers = usersData.data;

      // Search filter by any field