1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2025-01-09 07:19:46 +00:00
sophon/frontend/src/App.tsx

25 lines
802 B
TypeScript
Raw Normal View History

import * as React from 'react';
2021-09-21 14:22:50 +00:00
import {LayoutThreeCol} from "@steffo/bluelib-react";
2021-09-14 21:34:18 +00:00
import {Router} from "./routes/Router";
2021-09-16 15:43:57 +00:00
import {InstanceContextProvider} from "./components/InstanceContext";
import {LoginContextProvider} from "./components/LoginContext";
2021-09-21 14:22:50 +00:00
import {InstanceBluelib} from "./components/InstanceBluelib";
function App() {
return (
2021-09-16 15:43:57 +00:00
<InstanceContextProvider>
<LoginContextProvider>
2021-09-21 14:22:50 +00:00
<InstanceBluelib>
2021-09-16 15:43:57 +00:00
<LayoutThreeCol>
<LayoutThreeCol.Center>
<Router/>
</LayoutThreeCol.Center>
</LayoutThreeCol>
2021-09-21 14:22:50 +00:00
</InstanceBluelib>
2021-09-16 15:43:57 +00:00
</LoginContextProvider>
</InstanceContextProvider>
);
}
export default App;