👔 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.
This commit is contained in:
4
features/oauth-callback/types/ParamProps.ts
Normal file
4
features/oauth-callback/types/ParamProps.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export interface ParamProps {
|
||||
params: { provider: string[] };
|
||||
searchParams: { [key: string]: string | string[] | undefined };
|
||||
}
|
||||
Reference in New Issue
Block a user