Skip to content

Commit

Permalink
fix(web-client): Fix infinite loading
Browse files Browse the repository at this point in the history
  • Loading branch information
alllenshibu committed Dec 30, 2023
1 parent 0277b39 commit 63e89a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web-client/src/pages/organizations/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Dashboard = () => {
try {
const { data, status } = await axiosInstance.get('/users/organizations');
if (status === 200) setOrganizations(data.organizations || []);
//setLoading(false);
setLoading(false);
} catch (error) {
console.error(error);
setLoading(true);
Expand Down

0 comments on commit 63e89a9

Please sign in to comment.