From e7f9eacc6dad748cd5db9559f98f1e94ac798bea Mon Sep 17 00:00:00 2001 From: ph1p Date: Sat, 2 May 2020 12:25:45 +0200 Subject: [PATCH] fix: add missing method --- src/Ui.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ui.tsx b/src/Ui.tsx index 4f88ae2..42d94dd 100644 --- a/src/Ui.tsx +++ b/src/Ui.tsx @@ -137,6 +137,8 @@ const init = () => { }, [socket]); useEffect(() => { + initSocketConnection(store.settings.url); + const serverUrlDisposer = reaction( () => store.settings.url, () => {