summaryrefslogtreecommitdiff
path: root/src/popup/js/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup/js/index.tsx')
-rw-r--r--src/popup/js/index.tsx14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/popup/js/index.tsx b/src/popup/js/index.tsx
index 58ea30d..6414ead 100644
--- a/src/popup/js/index.tsx
+++ b/src/popup/js/index.tsx
@@ -1,14 +1,20 @@
import * as ReactDOM from "react-dom";
-import { HashRouter } from "react-router-dom";
import * as React from "react";
import { App } from "./App";
+import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
+import CssBaseline from "@material-ui/core/CssBaseline";
import "typeface-open-sans-condensed";
import "../scss/app.sass";
+const theme = createMuiTheme();
+
ReactDOM.render(
- <HashRouter>
- <App />
- </HashRouter>,
+ <MuiThemeProvider theme={theme}>
+ <React.Fragment>
+ <CssBaseline />
+ <App />
+ </React.Fragment>
+ </MuiThemeProvider>,
document.getElementById("app")
);