This commit is contained in:
@@ -4,10 +4,10 @@ import LocationContextProvider from "@/components/locationContext";
|
||||
import GroupCreator from "./GroupCreator";
|
||||
|
||||
export default async function Page() {
|
||||
let provinces = await db.query.province
|
||||
const provinces = await db.query.province
|
||||
.findMany({ with: { zones: true } })
|
||||
.execute();
|
||||
let jobList = await db.query.group.findMany().execute();
|
||||
const jobList = await db.query.group.findMany().execute();
|
||||
return (
|
||||
<LocationContextProvider>
|
||||
<LocationSelector provinces={provinces} />
|
||||
|
||||
Reference in New Issue
Block a user