mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
Finished styles and pagination of contacts page
This commit is contained in:
@@ -2,8 +2,24 @@ 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 <Routes />;
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<Routes />
|
||||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user