diff --git a/src/client.js b/src/client.js index f6409bf..ef01ecb 100644 --- a/src/client.js +++ b/src/client.js @@ -114,7 +114,7 @@ persistStore(store, {}, () => { store.dispatch(initTimer()); store.dispatch(fetchMe()); - SocketClient.connect(); + SocketClient.initialize(store); }); (function load() { diff --git a/src/components/GlobalCaptcha.jsx b/src/components/GlobalCaptcha.jsx index 65e099d..f902864 100644 --- a/src/components/GlobalCaptcha.jsx +++ b/src/components/GlobalCaptcha.jsx @@ -23,7 +23,7 @@ const GlobalCaptcha = ({ close }) => {