cra-template-32bit
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "cra-template-32bit", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,3 @@ import { ThemeProvider, createTheme } from '@mui/material/styles'; | ||
import { theme } from './utils/theme'; | ||
import GlobalContextProvider from './core/context/GlobalContext'; | ||
@@ -13,3 +14,5 @@ const App = () => { | ||
<ThemeProvider theme={createTheme(theme)}> | ||
<Root /> | ||
<GlobalContextProvider> | ||
<Root /> | ||
</GlobalContextProvider> | ||
</ThemeProvider> | ||
@@ -16,0 +19,0 @@ </BrowserRouter> |
@@ -9,3 +9,3 @@ import { Container, CssBaseline, Typography } from '@mui/material'; | ||
const { theme } = useGlobal(); | ||
const { currentTheme } = useGlobal(); | ||
@@ -16,3 +16,3 @@ return ( | ||
<Container> | ||
<Typography>Current Theme: {theme} </Typography> | ||
<Typography>Current Theme: {currentTheme} </Typography> | ||
<Routes> | ||
@@ -19,0 +19,0 @@ <Route path="/" element={<Home />} /> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8410
124