🚚 mv: change layout folder structure
Separate the navbar from the root layout, keeping the root layout clean. Create two child layout folders: 1. main: for basic layouts such as the navbar 2. clean: for clean layouts without any extra elements.
This commit is contained in:
20
app/(clean)/auth/providers/[name]/callback/page.tsx
Normal file
20
app/(clean)/auth/providers/[name]/callback/page.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
|
||||
const page = async ({
|
||||
params,
|
||||
searchParams,
|
||||
}: {
|
||||
params: { name: string };
|
||||
searchParams: { [key: string]: string | string[] | undefined };
|
||||
}) => {
|
||||
const resolvedParams = await params;
|
||||
const resolvedSearchParams = await searchParams;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Loading....</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
Reference in New Issue
Block a user