Initialize authenticated webapp
This commit is contained in:
9
src/app/maps/page.tsx
Normal file
9
src/app/maps/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { auth } from "@clerk/nextjs/server";
|
||||
|
||||
import { BusinessMap } from "@/components/business-map";
|
||||
|
||||
export default async function MapsPage() {
|
||||
await auth.protect();
|
||||
|
||||
return <BusinessMap />;
|
||||
}
|
||||
Reference in New Issue
Block a user