removed empty array from useEffect

This commit is contained in:
joshsny 2021-08-10 11:00:05 +02:00
parent 747d8f56d3
commit 03407a3738

View file

@ -44,7 +44,7 @@ export default function Troubleshoot({ user }) {
useEffect(() => { useEffect(() => {
fetchAvailability(selectedDate); fetchAvailability(selectedDate);
}, []); });
if (loading) { if (loading) {
return <Loader />; return <Loader />;