Files
AnimeTV-Frontend/app/(auth)/auth/callback/[...provider]/page.tsx
Rafi Arrafif 73c5bff44c 👔 forwarding callback data
create a type and implement it in props that pass callback data from root to the component that will process the
request.
2025-08-27 22:47:55 +07:00

10 lines
342 B
TypeScript

import OauthCallbackHandler from "@/features/oauth-callback/pages/callbackHandler";
import React from "react";
import { ParamProps } from "@/features/oauth-callback/types/ParamProps";
const page = ({ params, searchParams }: ParamProps) => {
return <OauthCallbackHandler callbackData={{ params, searchParams }} />;
};
export default page;