diff --git a/src/app/App.tsx b/src/app/App.tsx index efd014b..ceb1a41 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -37,12 +37,9 @@ function App() { faviconDocument.href = "BrandXTechnologies/favicon.ico" }) - // Set favicon + // Set title const titleDocument = document.getElementById("title-id") as HTMLLinkElement; - if (titleDocument) { - console.log(whiteLabel.name) - titleDocument.href = whiteLabel.name; - } + if (titleDocument) titleDocument.title = whiteLabel.name; let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN; let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE; diff --git a/src/services/whiteLabel.ts b/src/services/whiteLabel.ts index 34b2fec..d14ab51 100644 --- a/src/services/whiteLabel.ts +++ b/src/services/whiteLabel.ts @@ -70,7 +70,7 @@ interface WhiteLabel { // }; const STAGING_WHITELABEL: WhiteLabel = { - name: import.meta.env.VITE_APP_WEBSITE_TITLE, + name: "Staging", primaryColour: import.meta.env.VITE_APP_PRIMARY_COLOUR, secondaryColour: import.meta.env.VITE_APP_SECONDARY_COLOUR, signatureColour: import.meta.env.VITE_APP_SIGNATURE_COLOUR,