From 81911315b1e0c474ed1abcb45ca8aa12cf5b5cdb Mon Sep 17 00:00:00 2001 From: dec0dOS Date: Tue, 24 Aug 2021 15:50:53 +0300 Subject: [PATCH] refactor: move from MUI deprecated theme creation --- frontend/src/components/Theme/Theme.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Theme/Theme.jsx b/frontend/src/components/Theme/Theme.jsx index d0190ff..e2c6fc7 100644 --- a/frontend/src/components/Theme/Theme.jsx +++ b/frontend/src/components/Theme/Theme.jsx @@ -1,8 +1,8 @@ import { ThemeProvider } from "@material-ui/styles"; -import { createMuiTheme } from "@material-ui/core/styles"; +import { createTheme } from "@material-ui/core/styles"; import { red, amber } from "@material-ui/core/colors"; -const theme = createMuiTheme({ +const theme = createTheme({ palette: { primary: { main: amber[500],