Skip to content

Commit 498db83

Browse files
committed
fixes file path in nextjs guide
1 parent 130218c commit 498db83

File tree

5 files changed

+10
-10
lines changed
  • v2
    • emailpassword/nextjs/app-directory
    • passwordless/nextjs/app-directory
    • thirdpartyemailpassword/nextjs/app-directory
    • thirdpartypasswordless/nextjs/app-directory
    • thirdparty/nextjs/app-directory

5 files changed

+10
-10
lines changed

v2/emailpassword/nextjs/app-directory/init.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const appInfo = {
109109

110110
## 4) Create a frontend config function
111111

112-
```tsx title="app/config/frontend.ts"
112+
```tsx title="app/config/frontend.tsx"
113113
import EmailPasswordReact from 'supertokens-auth-react/recipe/emailpassword'
114114
import SessionReact from 'supertokens-auth-react/recipe/session'
115115
// @ts-ignore
@@ -154,7 +154,7 @@ export const frontendConfig = (): SuperTokensConfig => {
154154
155155
## 4) Create a frontend config function
156156
157-
```tsx title="app/config/frontend.ts"
157+
```tsx title="app/config/frontend.tsx"
158158
import EmailPasswordWebJs from 'supertokens-web-js/recipe/emailpassword'
159159
import SessionWebJs from 'supertokens-web-js/recipe/session'
160160
// @ts-ignore

v2/passwordless/nextjs/app-directory/init.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const appInfo = {
113113

114114
## 4) Create a frontend config function
115115

116-
```tsx title="app/config/frontend.ts"
116+
```tsx title="app/config/frontend.tsx"
117117
import PasswordlessReact from 'supertokens-auth-react/recipe/passwordless'
118118
import SessionReact from 'supertokens-auth-react/recipe/session'
119119
// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160160
161161
## 4) Create a frontend config function
162162
163-
```tsx title="app/config/frontend.ts"
163+
```tsx title="app/config/frontend.tsx"
164164
import PasswordlessWebJs from 'supertokens-web-js/recipe/passwordless'
165165
import SessionWebJs from 'supertokens-web-js/recipe/session'
166166
// @ts-ignore

v2/thirdparty/nextjs/app-directory/init.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const appInfo = {
109109

110110
## 4) Create a frontend config function
111111

112-
```tsx title="app/config/frontend.ts"
112+
```tsx title="app/config/frontend.tsx"
113113
import ThirdPartyReact, {Google, Facebook} from 'supertokens-auth-react/recipe/thirdparty'
114114
import SessionReact from 'supertokens-auth-react/recipe/session'
115115
// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163163
164164
## 4) Create a frontend config function
165165
166-
```tsx title="app/config/frontend.ts"
166+
```tsx title="app/config/frontend.tsx"
167167
import ThirdPartyWebJs from 'supertokens-web-js/recipe/thirdparty'
168168
import SessionWebJs from 'supertokens-web-js/recipe/session'
169169
// @ts-ignore

v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const appInfo = {
109109

110110
## 4) Create a frontend config function
111111

112-
```tsx title="app/config/frontend.ts"
112+
```tsx title="app/config/frontend.tsx"
113113
import ThirdPartyEmailPasswordReact from 'supertokens-auth-react/recipe/thirdpartyemailpassword'
114114
import SessionReact from 'supertokens-auth-react/recipe/session'
115115
// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163163
164164
## 4) Create a frontend config function
165165
166-
```tsx title="app/config/frontend.ts"
166+
```tsx title="app/config/frontend.tsx"
167167
import ThirdPartyEmailPasswordWebJs from 'supertokens-web-js/recipe/thirdpartyemailpassword'
168168
import SessionWebJs from 'supertokens-web-js/recipe/session'
169169
// @ts-ignore

v2/thirdpartypasswordless/nextjs/app-directory/init.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const appInfo = {
113113

114114
## 4) Create a frontend config function
115115

116-
```tsx title="app/config/frontend.ts"
116+
```tsx title="app/config/frontend.tsx"
117117
import ThirdPartyPasswordlessReact from 'supertokens-auth-react/recipe/thirdpartypasswordless'
118118
import SessionReact from 'supertokens-auth-react/recipe/session'
119119
// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160160
161161
## 4) Create a frontend config function
162162
163-
```tsx title="app/config/frontend.ts"
163+
```tsx title="app/config/frontend.tsx"
164164
import ThirdPartyPasswordlessWebJs from 'supertokens-web-js/recipe/thirdpartypasswordless'
165165
import SessionWebJs from 'supertokens-web-js/recipe/session'
166166
// @ts-ignore

0 commit comments

Comments
 (0)