connect theme toggle
This commit is contained in:
parent
4c51513cfe
commit
bce4089903
4 changed files with 22 additions and 10 deletions
|
|
@ -67,6 +67,14 @@ export default function UserMenu(props: Props) {
|
|||
setLockIsHovered(false);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
console.log(theme.palette.mode)
|
||||
}, [theme.palette.mode])
|
||||
|
||||
useEffect(() => {
|
||||
console.log(theme)
|
||||
}, [theme])
|
||||
|
||||
const unauthenticatedUserMenu = () => {
|
||||
return (
|
||||
<React.Fragment>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue