added themeprovider to entire page

This commit is contained in:
Kristoffer Juelsenn 2022-03-23 18:51:03 +01:00
parent 5d267c7a73
commit 868f080cb6
1 changed files with 4 additions and 0 deletions

View File

@ -2,10 +2,14 @@ import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./frontpage.js";
import theme from './components/theme';
import { ThemeProvider } from "@emotion/react";
ReactDOM.render(
<>
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
</>,
document.getElementById("root")
);