side navigator can now actually link to different places, it is now placed inside the Router

This commit is contained in:
Carter 2024-11-14 16:58:31 -06:00
parent df4a259131
commit 258b19583e
11 changed files with 188 additions and 77 deletions

View file

@ -73,14 +73,6 @@ export default function UserMenu(props: Props) {
loginWithRedirect()
}
useEffect(() => {
console.log(theme.palette.mode)
}, [theme.palette.mode])
useEffect(() => {
console.log(theme)
}, [theme])
const unauthenticatedUserMenu = () => {
return (
<React.Fragment>

View file

@ -1,9 +1,9 @@
import { Theme, Typography } from "@mui/material";
import { Typography } from "@mui/material";
import { makeStyles } from "@mui/styles";
import { getSignatureAccentColour } from "../services/whiteLabel";
import { Team, User } from "models";
const useStyles = makeStyles((theme: Theme) => ({
const useStyles = makeStyles(() => ({
profileName: {
whiteSpace: "nowrap",
overflow: "hidden",