diff --git a/app/lib/actions/locationActions.ts b/app/lib/actions/locationActions.ts index 4db8fe0..e094c9d 100644 --- a/app/lib/actions/locationActions.ts +++ b/app/lib/actions/locationActions.ts @@ -84,7 +84,7 @@ export const updateOrAddLocation = withUser(async (user:AuthenticatedUser, locat }); } - await asyncTimeout(1000); + // await asyncTimeout(1000); if(yearMonth) await gotoHome(yearMonth); @@ -116,7 +116,7 @@ export const fetchAllLocations = withUser(async (user:AuthenticatedUser, year:nu }) .toArray(); - await asyncTimeout(1000); + // await asyncTimeout(1000); return(locations); }) @@ -137,7 +137,7 @@ export const fetchLocationById = withUser(async (user:AuthenticatedUser, locatio return(null); } - await asyncTimeout(1000); + // await asyncTimeout(1000); return(billLocation); }) @@ -153,7 +153,7 @@ export const deleteLocationById = withUser(async (user:AuthenticatedUser, locati // find a location with the given locationID const post = await dbClient.collection("lokacije").deleteOne({ _id: locationID, userId }); - await asyncTimeout(1000); + // await asyncTimeout(1000); await gotoHome(yearMonth) }) \ No newline at end of file