removed empty array from useEffect

This commit is contained in:
joshsny committed 2021-08-10 11:00:05 +02:00
1 parent 747d8f56d3
commit 03407a3738
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ export default function Troubleshoot({ user }) {
useEffect(() => {
fetchAvailability(selectedDate);
}, []);
});
if (loading) {
return <Loader />;