From 6091bd3b34565cc068594af2ab5baf057bc4ce97 Mon Sep 17 00:00:00 2001 From: Danny Piper Date: Sun, 5 May 2024 21:40:12 +0100 Subject: [PATCH] fix: debugging --- game-source-redux/src/App.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game-source-redux/src/App.svelte b/game-source-redux/src/App.svelte index 76231b0..d31f4a5 100644 --- a/game-source-redux/src/App.svelte +++ b/game-source-redux/src/App.svelte @@ -4,13 +4,14 @@ import Counter from "./lib/Counter.svelte"; import KubeWebSocket from "./lib/websockets"; import { onMount } from 'svelte'; + import { v4 } from 'uuid'; const width = 16; const height = 16; const cube_size = 100; onMount(() => { - const ws = new KubeWebSocket("Danny"); + const ws = new KubeWebSocket(v4()); ws.onError = (err) => { console.error(err);