From 2f31568c0feb5344587fff5add3f32cc81931f7a Mon Sep 17 00:00:00 2001 From: connor Date: Mon, 30 Dec 2024 00:54:00 -0600 Subject: [PATCH] test --- .../frontend/react-multitenancy/config/multitenancy.tsx | 5 ----- boilerplate/frontend/react-multitenancy/src/Auth/index.tsx | 6 ++---- boilerplate/frontend/react-multitenancy/src/Home/index.tsx | 1 - boilerplate/frontend/react-multitenancy/src/config.tsx | 5 ----- 4 files changed, 2 insertions(+), 15 deletions(-) diff --git a/boilerplate/frontend/react-multitenancy/config/multitenancy.tsx b/boilerplate/frontend/react-multitenancy/config/multitenancy.tsx index 4d4bb3b..bd12b89 100644 --- a/boilerplate/frontend/react-multitenancy/config/multitenancy.tsx +++ b/boilerplate/frontend/react-multitenancy/config/multitenancy.tsx @@ -19,11 +19,6 @@ export function getWebsiteDomain() { return websiteUrl; } -export const styleOverride = ` -[data-supertokens~=tenants-link] { - margin-top: 8px; -}`; - export const SuperTokensConfig = { appInfo: { appName: "SuperTokens Demo App", diff --git a/boilerplate/frontend/react-multitenancy/src/Auth/index.tsx b/boilerplate/frontend/react-multitenancy/src/Auth/index.tsx index 084bc71..eb7c75b 100644 --- a/boilerplate/frontend/react-multitenancy/src/Auth/index.tsx +++ b/boilerplate/frontend/react-multitenancy/src/Auth/index.tsx @@ -44,14 +44,12 @@ const LoginWithSSOButton = ({ ); }; -export const Auth = () => { +export default function Auth() { const [tenantId, setTenantId] = React.useState(localStorage.getItem("tenantId")); const session = useSessionContext(); const [showTenantSelector, setShowTenantSelector] = React.useState(true); const navigate = useNavigate(); - console.log("HELLOOO"); - if (session.loading) { return null; } @@ -111,4 +109,4 @@ export const Auth = () => { ); -}; +} diff --git a/boilerplate/frontend/react-multitenancy/src/Home/index.tsx b/boilerplate/frontend/react-multitenancy/src/Home/index.tsx index b3968ae..5c8948c 100644 --- a/boilerplate/frontend/react-multitenancy/src/Home/index.tsx +++ b/boilerplate/frontend/react-multitenancy/src/Home/index.tsx @@ -1,5 +1,4 @@ export default function Home() { - console.log("HOMEEE"); return (
diff --git a/boilerplate/frontend/react-multitenancy/src/config.tsx b/boilerplate/frontend/react-multitenancy/src/config.tsx index 45f7352..59756ca 100644 --- a/boilerplate/frontend/react-multitenancy/src/config.tsx +++ b/boilerplate/frontend/react-multitenancy/src/config.tsx @@ -7,11 +7,6 @@ export function getWebsiteDomain() { return ""; } -export const styleOverride = ` -[data-supertokens~=tenants-link] { - margin-top: 8px; -}`; - export const SuperTokensConfig = { appInfo: { appName: "",