Add typescript checking

This commit is contained in:
2023-02-13 14:59:00 -06:00
parent 366238748e
commit 57a065abd1
10 changed files with 69 additions and 166 deletions

View File

@@ -15,11 +15,6 @@ const Contestant = () => {
useEffect(() => {
socket.emit("contestant-join", { room, signature });
}, []);
useEffect(() => {
if (parent.current) {
setWidth(parent.current.getBoundingClientRect().width);
}
}, [parent]);
const handleBuzz = debounce(
() => {