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;
