added themeprovider to entire page
This commit is contained in:
parent
5d267c7a73
commit
868f080cb6
|
@ -2,10 +2,14 @@ import React from "react";
|
||||||
import ReactDOM from "react-dom";
|
import ReactDOM from "react-dom";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
import App from "./frontpage.js";
|
import App from "./frontpage.js";
|
||||||
|
import theme from './components/theme';
|
||||||
|
import { ThemeProvider } from "@emotion/react";
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<>
|
<>
|
||||||
|
<ThemeProvider theme={theme}>
|
||||||
<App />
|
<App />
|
||||||
|
</ThemeProvider>
|
||||||
</>,
|
</>,
|
||||||
document.getElementById("root")
|
document.getElementById("root")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue