removed empty array from useEffect
This commit is contained in:
parent
747d8f56d3
commit
03407a3738
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default function Troubleshoot({ user }) {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetchAvailability(selectedDate);
|
fetchAvailability(selectedDate);
|
||||||
}, []);
|
});
|
||||||
|
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return <Loader />;
|
return <Loader />;
|
||||||
|
|
Loading…
Reference in a new issue