mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-21 22:06:11 +08:00
Initial commit
This commit is contained in:
27
ui/src/index.tsx
Normal file
27
ui/src/index.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import CssBaseline from "@material-ui/core/CssBaseline";
|
||||
import { Provider } from "react-redux";
|
||||
import { ThemeProvider } from "@material-ui/core/styles";
|
||||
import App from "./App";
|
||||
import store from "./store";
|
||||
import theme from "./theme";
|
||||
import * as serviceWorker from "./serviceWorker";
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<CssBaseline />
|
||||
<Provider store={store}>
|
||||
<ThemeProvider theme={theme}>
|
||||
<App />
|
||||
</ThemeProvider>
|
||||
</Provider>
|
||||
</React.StrictMode>,
|
||||
document.getElementById("root")
|
||||
);
|
||||
|
||||
// If you want your app to work offline and load faster, you can change
|
||||
// unregister() to register() below. Note this comes with some pitfalls.
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
// TODO(hibiken): Look into this.
|
||||
serviceWorker.unregister();
|
Reference in New Issue
Block a user