From 498db83f38628b64e9ec1021682f9ebda1bdfdde Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Wed, 8 May 2024 22:01:09 +0530 Subject: [PATCH] fixes file path in nextjs guide --- v2/emailpassword/nextjs/app-directory/init.mdx | 4 ++-- v2/passwordless/nextjs/app-directory/init.mdx | 4 ++-- v2/thirdparty/nextjs/app-directory/init.mdx | 4 ++-- v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx | 4 ++-- v2/thirdpartypasswordless/nextjs/app-directory/init.mdx | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/v2/emailpassword/nextjs/app-directory/init.mdx b/v2/emailpassword/nextjs/app-directory/init.mdx index 07fa54777..1258bf55b 100644 --- a/v2/emailpassword/nextjs/app-directory/init.mdx +++ b/v2/emailpassword/nextjs/app-directory/init.mdx @@ -109,7 +109,7 @@ export const appInfo = { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import EmailPasswordReact from 'supertokens-auth-react/recipe/emailpassword' import SessionReact from 'supertokens-auth-react/recipe/session' // @ts-ignore @@ -154,7 +154,7 @@ export const frontendConfig = (): SuperTokensConfig => { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import EmailPasswordWebJs from 'supertokens-web-js/recipe/emailpassword' import SessionWebJs from 'supertokens-web-js/recipe/session' // @ts-ignore diff --git a/v2/passwordless/nextjs/app-directory/init.mdx b/v2/passwordless/nextjs/app-directory/init.mdx index b52efe42a..23fa51f20 100644 --- a/v2/passwordless/nextjs/app-directory/init.mdx +++ b/v2/passwordless/nextjs/app-directory/init.mdx @@ -113,7 +113,7 @@ export const appInfo = { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import PasswordlessReact from 'supertokens-auth-react/recipe/passwordless' import SessionReact from 'supertokens-auth-react/recipe/session' // @ts-ignore @@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import PasswordlessWebJs from 'supertokens-web-js/recipe/passwordless' import SessionWebJs from 'supertokens-web-js/recipe/session' // @ts-ignore diff --git a/v2/thirdparty/nextjs/app-directory/init.mdx b/v2/thirdparty/nextjs/app-directory/init.mdx index acdea0125..9961b1d79 100644 --- a/v2/thirdparty/nextjs/app-directory/init.mdx +++ b/v2/thirdparty/nextjs/app-directory/init.mdx @@ -109,7 +109,7 @@ export const appInfo = { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyReact, {Google, Facebook} from 'supertokens-auth-react/recipe/thirdparty' import SessionReact from 'supertokens-auth-react/recipe/session' // @ts-ignore @@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyWebJs from 'supertokens-web-js/recipe/thirdparty' import SessionWebJs from 'supertokens-web-js/recipe/session' // @ts-ignore diff --git a/v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx b/v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx index 599a10043..d0679043d 100644 --- a/v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx +++ b/v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx @@ -109,7 +109,7 @@ export const appInfo = { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyEmailPasswordReact from 'supertokens-auth-react/recipe/thirdpartyemailpassword' import SessionReact from 'supertokens-auth-react/recipe/session' // @ts-ignore @@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyEmailPasswordWebJs from 'supertokens-web-js/recipe/thirdpartyemailpassword' import SessionWebJs from 'supertokens-web-js/recipe/session' // @ts-ignore diff --git a/v2/thirdpartypasswordless/nextjs/app-directory/init.mdx b/v2/thirdpartypasswordless/nextjs/app-directory/init.mdx index a7df45de1..a37d7a07c 100644 --- a/v2/thirdpartypasswordless/nextjs/app-directory/init.mdx +++ b/v2/thirdpartypasswordless/nextjs/app-directory/init.mdx @@ -113,7 +113,7 @@ export const appInfo = { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyPasswordlessReact from 'supertokens-auth-react/recipe/thirdpartypasswordless' import SessionReact from 'supertokens-auth-react/recipe/session' // @ts-ignore @@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => { ## 4) Create a frontend config function -```tsx title="app/config/frontend.ts" +```tsx title="app/config/frontend.tsx" import ThirdPartyPasswordlessWebJs from 'supertokens-web-js/recipe/thirdpartypasswordless' import SessionWebJs from 'supertokens-web-js/recipe/session' // @ts-ignore