mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 12:18:48 +08:00
825737adc5
Co-authored-by: Max Fitton <max@semprehealth.com>
22 lines
537 B
TypeScript
22 lines
537 B
TypeScript
import { CssBaseline } from "@material-ui/core";
|
|
import React from "react";
|
|
import { Provider } from "react-redux";
|
|
import { BrowserRouter, Route } from "react-router-dom";
|
|
import Dashboard from "./pages/dashboard/Dashboard";
|
|
import { store } from "./store";
|
|
|
|
class App extends React.Component {
|
|
render() {
|
|
return (
|
|
<Provider store={store}>
|
|
<BrowserRouter>
|
|
<CssBaseline />
|
|
<Route component={Dashboard} exact path="/" />
|
|
</BrowserRouter>
|
|
</Provider>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default App;
|