From 868f080cb6da63218198bff6dc64f36e48369896 Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Wed, 23 Mar 2022 18:51:03 +0100 Subject: [PATCH] added themeprovider to entire page --- src/client/src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/src/index.js b/src/client/src/index.js index f1b1afc..ccc0fd0 100644 --- a/src/client/src/index.js +++ b/src/client/src/index.js @@ -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( <> + + , document.getElementById("root") );