Skip to content

Commit

Permalink
fixes file path in nextjs guide
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed May 8, 2024
1 parent 130218c commit 498db83
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions v2/emailpassword/nextjs/app-directory/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/passwordless/nextjs/app-directory/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/thirdparty/nextjs/app-directory/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/thirdpartyemailpassword/nextjs/app-directory/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions v2/thirdpartypasswordless/nextjs/app-directory/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 498db83

Please sign in to comment.