Added suspense to LocationAddPage and LocationDetelePage
This commit is contained in:
@@ -10,7 +10,7 @@ export default async function LocationEditPage({ locationId }: { locationId:stri
|
||||
return(notFound());
|
||||
}
|
||||
|
||||
const result = <LocationEditForm location={location} yearMonth={location.yearMonth} />;
|
||||
const result = <LocationEditForm location={location} />;
|
||||
|
||||
return (result);
|
||||
}
|
||||
Reference in New Issue
Block a user