diff --git a/src/Phone.js b/src/Phone.js index e5455fd..ff4bc70 100644 --- a/src/Phone.js +++ b/src/Phone.js @@ -11,23 +11,21 @@ import MessageIcon from "@material-ui/icons/Email"; import { HomeApp } from "./apps/home/components/Home"; import { ContactsApp } from "./apps/contacts/components/Contacts"; import { SettingsApp } from "./apps/settings/components/Settings"; -import { ThemeProvider, createMuiTheme } from "@material-ui/core"; -import { useConfig } from "./config/hooks/useConfig"; +import { ThemeProvider } from "@material-ui/core"; function Phone() { - const { settings } = useSettings(); - const [config] = useConfig(); + const { settings, currentTheme } = useSettings(); return ( -