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.
 
 
 
 

25 lines
463 B

import React, {useEffect} from 'react';
import {Col, Progress} from "antd"
import socket from "../util/socket";
const Lobby = () => {
useEffect(() => {
socket.on("SENDING_NEW_TIME", (data: string) => {
});
return () => {
socket.off("SENDING_NEW_TIME");
}
});
return (
<Col className="sider" span={4} offset={10}>
<h1>Centurion!</h1>
</Col>
);
};
export default Lobby;