Working real time lobby
This commit is contained in:
parent
61ae4b901d
commit
f1ea064d4c
13 changed files with 386 additions and 152 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue