From 1992441a80042b1869e413c82971bfe1bf16fe61 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Fri, 24 Nov 2023 21:01:12 +0530 Subject: [PATCH] fixes code snippet --- .../sessions/protecting-frontend-routes.mdx | 2 +- .../sessions/protecting-frontend-routes.mdx | 2 +- .../sessions/protecting-frontend-routes.mdx | 2 +- .../sessions/protecting-frontend-routes.mdx | 2 +- .../sessions/protecting-frontend-routes.mdx | 2 +- .../sessions/protecting-frontend-routes.mdx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/v2/emailpassword/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/emailpassword/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/emailpassword/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/emailpassword/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() { diff --git a/v2/passwordless/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/passwordless/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/passwordless/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/passwordless/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() { diff --git a/v2/session/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/session/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/session/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/session/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() { diff --git a/v2/thirdparty/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/thirdparty/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/thirdparty/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/thirdparty/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() { diff --git a/v2/thirdpartyemailpassword/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/thirdpartyemailpassword/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/thirdpartyemailpassword/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/thirdpartyemailpassword/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() { diff --git a/v2/thirdpartypasswordless/common-customizations/sessions/protecting-frontend-routes.mdx b/v2/thirdpartypasswordless/common-customizations/sessions/protecting-frontend-routes.mdx index 8927f78de..6631e597d 100644 --- a/v2/thirdpartypasswordless/common-customizations/sessions/protecting-frontend-routes.mdx +++ b/v2/thirdpartypasswordless/common-customizations/sessions/protecting-frontend-routes.mdx @@ -75,7 +75,7 @@ import { Route, } from "react-router-dom"; import { SuperTokensWrapper } from "supertokens-auth-react"; -import Session from "supertokens-auth-react/recipe/session"; +import Session, { SessionAuth } from "supertokens-auth-react/recipe/session"; class App extends React.Component { render() {