side navigator can now actually link to different places, it is now placed inside the Router
This commit is contained in:
parent
df4a259131
commit
258b19583e
11 changed files with 188 additions and 77 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue