This commit is contained in:
2025-08-03 00:17:54 +05:30
parent d936bf4608
commit 2be48dd7a8
10 changed files with 170 additions and 17 deletions

View File

@@ -2,7 +2,7 @@ import { useState, useEffect, useCallback } from 'react';
import PartySocket from 'partysocket';
import { GameState } from '../types';
const PARTY_HOST = import.meta.env.DEV ? 'localhost:1998' : 'bozo-clicker.your-username.partykit.dev';
const PARTY_HOST = import.meta.env.DEV ? 'localhost:1999' : 'bozo-clicker.your-username.partykit.dev';
export function usePartyKit() {
const [gameState, setGameState] = useState<GameState | null>(null);