diff options
Diffstat (limited to 'client/src/components/Desktop.tsx')
-rw-r--r-- | client/src/components/Desktop.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/components/Desktop.tsx b/client/src/components/Desktop.tsx index 72b583d..0aa4357 100644 --- a/client/src/components/Desktop.tsx +++ b/client/src/components/Desktop.tsx @@ -1,10 +1,9 @@ import React from 'react'; import { useContext } from 'react'; import { Link } from 'react-router-dom'; -import { Button, IconButton } from '@mui/material'; +import { Button, IconButton, useTheme } from '@mui/material'; import DarkModeIcon from '@mui/icons-material/DarkMode'; import LightModeIcon from '@mui/icons-material/LightMode'; -import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; import pages from '../pages'; |