diff --git a/src/components/navigation/ButtonAppBar/ButtonAppBar.tsx b/src/components/navigation/ButtonAppBar/ButtonAppBar.tsx index 4aad1838498288d96f2b99d01f95f52233a12c2e..c36edc99c7829c3209f07b5b83e2d985c8d7dca3 100644 --- a/src/components/navigation/ButtonAppBar/ButtonAppBar.tsx +++ b/src/components/navigation/ButtonAppBar/ButtonAppBar.tsx @@ -4,7 +4,6 @@ * https://mui.com/material-ui/react-app-bar/ * https://mui.com/material-ui/api/app-bar/ */ -import { useEffect } from "react"; import { AppBar, Toolbar, Typography } from "@mui/material"; import { useGlobalAppBarContext } from "../GlobalAppBar/GlobalAppBarContext"; @@ -24,10 +23,6 @@ export const ButtonAppBar = ({ }: ButtonAppBarProps) => { const { pageTitle, environment } = useGlobalAppBarContext(); - useEffect(() => { - console.log("ENVIRONMENT", environment); //eslint-disable-line - }, [environment]); - return ( <AppBar className="CeuiButtonAppBar" diff --git a/src/components/navigation/GlobalAppBar/GlobalAppBarContext.ts b/src/components/navigation/GlobalAppBar/GlobalAppBarContext.ts index c5ea74f909f89bd646a1dded799246dabd13b6b2..71d588c97b88c4b25d142c5e34670d566ecab86f 100644 --- a/src/components/navigation/GlobalAppBar/GlobalAppBarContext.ts +++ b/src/components/navigation/GlobalAppBar/GlobalAppBarContext.ts @@ -4,7 +4,7 @@ import { GlobalAppBarContextType } from "./GlobalAppBarProvider"; export const defaultValue = { pageTitle: "", updatePageTitle: () => "", - environment: "PROD", + environment: "", setEnvironment: () => "" };