Working real time lobby

This commit is contained in:
aronmal 2023-05-13 15:03:12 +02:00
parent 61ae4b901d
commit f1ea064d4c
Signed by: aronmal
GPG key ID: 816B7707426FC612
13 changed files with 386 additions and 152 deletions

View file

@ -27,7 +27,7 @@ export function isAuthenticated(res: Response) {
toast(status[res.status], {
position: "top-center",
type: "error",
type: "info",
theme: "colored",
})
}
@ -184,7 +184,15 @@ export default function Start() {
"Raum beitreten"
)}
</OptionButton>
<OptionButton icon={faEye}>
<OptionButton
icon={faEye}
action={() => {
router.push({
pathname: router.pathname,
query: { q: "watch" },
})
}}
>
{query.watch ? (
<OtpInput
shouldAutoFocus