load maps from png files
This commit is contained in:
parent
51334af8c3
commit
6bed7d918f
1 changed files with 85 additions and 60 deletions
|
|
@ -55,7 +55,8 @@ export default function ClientScreen({logout, theme}: { logout: () => void, them
|
|||
sendMessage,
|
||||
getWebSocket
|
||||
} = useWebSocket(import.meta.env.VITE_TANK_SCREEN_URL, {
|
||||
onError: logout
|
||||
onError: logout,
|
||||
shouldReconnect: () => true,
|
||||
});
|
||||
|
||||
const socket = getWebSocket();
|
||||
|
|
|
|||
Reference in a new issue