R7, R2, Heartbeat, Sessions, Code, cleanup, Outro
This commit is contained in:
1 parent
b5e5cc502d
commit
5b9fe3ea21
25 files changed
+346
-116
No files matched your search
@@ -1,6 +1,9 @@
|
||||
import { Player } from "@/types/player";
|
||||
import { PREF } from "./const";
|
||||
|
||||
export const MIN_PLAYERS = 2;
|
||||
export const MAX_PLAYERS = 8;
|
||||
|
||||
export function setPlayers(players: Player[]) {
|
||||
localStorage.setItem(PREF.players, JSON.stringify(players));
|
||||
window.dispatchEvent(new Event('storage'));
|
||||
|
||||
Reference in new issue
Block a user