From f69a7786da3ba21373574ee6c96371769a72ac42 Mon Sep 17 00:00:00 2001
From: Tom van der Lee <tom@vanderlee.io>
Date: Tue, 25 Jan 2022 22:03:00 +0100
Subject: Fixed issue with json viewer

---
 src/index.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index a6c4952..037092d 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -3,5 +3,10 @@ import * as ReactDOM from "react-dom";
 import App from "./components/App/App";
 
 import './index.scss';
+import DarkModeProvider from "./contexts/DarkMode";
 
-ReactDOM.render(<App />, document.getElementById("root"));
+ReactDOM.render((
+  <DarkModeProvider>
+    <App />
+  </DarkModeProvider>
+), document.getElementById("root"));
-- 
cgit v1.2.3

