mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
26 lines
428 B
JavaScript
26 lines
428 B
JavaScript
import React from "react";
|
|
import Routes from "./routes";
|
|
import "dotenv/config";
|
|
|
|
import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles";
|
|
import { ptBR } from "@material-ui/core/locale";
|
|
|
|
const theme = createMuiTheme(
|
|
{
|
|
palette: {
|
|
primary: { main: "#1976d2" },
|
|
},
|
|
},
|
|
ptBR
|
|
);
|
|
|
|
const App = () => {
|
|
return (
|
|
<ThemeProvider theme={theme}>
|
|
<Routes />
|
|
</ThemeProvider>
|
|
);
|
|
};
|
|
|
|
export default App;
|