Skip to content

Commit

Permalink
fix: loading state (#6765)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored Apr 3, 2024
1 parent 0a0f5a7 commit 2cbb45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useLoading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const useLoading = (loading: boolean, selector = '[data-loading=true]') => {
}
});
}
}, [loading]);
}, [loading, selector, ref]);

return ref;
};
Expand Down

0 comments on commit 2cbb45d

Please sign in to comment.