Kopie van https://gitlab.com/studieverenigingvia/ict/centurion met een paar aanpassingen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
centurion/frontend/src/App.tsx

15 lines
350 B

4 years ago
import React from 'react';
4 years ago
import './App.sass';
4 years ago
import {SocketIOProvider} from "use-socketio/lib";
import Wrapper from "./Wrapper";
4 years ago
const App = () => {
return (
<SocketIOProvider url={window.location.protocol + "//" + window.location.hostname + ":3001"}>
4 years ago
<Wrapper/>
</SocketIOProvider>
4 years ago
);
};
export default App;