Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
connor authored and connor committed Dec 30, 2024
1 parent 26d3989 commit 2f31568
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 2 additions & 4 deletions boilerplate/frontend/react-multitenancy/src/Auth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -111,4 +109,4 @@ export const Auth = () => {
</div>
</AuthRecipeComponentsOverrideContextProvider>
);
};
}
1 change: 0 additions & 1 deletion boilerplate/frontend/react-multitenancy/src/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default function Home() {
console.log("HOMEEE");
return (
<div className="fill" id="home-container">
<div className="logos">
Expand Down
5 changes: 0 additions & 5 deletions boilerplate/frontend/react-multitenancy/src/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ export function getWebsiteDomain() {
return "";
}

export const styleOverride = `
[data-supertokens~=tenants-link] {
margin-top: 8px;
}`;

export const SuperTokensConfig = {
appInfo: {
appName: "",
Expand Down

0 comments on commit 2f31568

Please sign in to comment.