Fixed socket event listeners removal
This commit is contained in:
parent
7f350393ff
commit
a95c0b1f7f
8 changed files with 88 additions and 63 deletions
|
@ -7,14 +7,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|||
import { useGameProps } from "@hooks/useGameProps"
|
||||
import classNames from "classnames"
|
||||
import { ReactNode, useMemo } from "react"
|
||||
|
||||
type GameSettingKeys =
|
||||
| "allowSpectators"
|
||||
| "allowSpecials"
|
||||
| "allowChat"
|
||||
| "allowMarkDraw"
|
||||
|
||||
export type GameSettings = { [key in GameSettingKeys]?: boolean }
|
||||
import { GameSettingKeys } from "../../../interfaces/frontend"
|
||||
|
||||
function Setting({
|
||||
children,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue