aboutsummaryrefslogtreecommitdiff
path: root/modern/src/SocketController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-06 15:07:13 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-06 15:07:13 -0700
commitcc03e41dd7f9f401797f39eb08e7d4617d624a2f (patch)
tree73e35b23c5d4d0f06382ec3ebd4c4da86611e65d /modern/src/SocketController.js
parentd04cd5a9ca34f0528f3db6361641d20bc1a13320 (diff)
downloadtrackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.tar.gz
trackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.tar.bz2
trackermap-web-cc03e41dd7f9f401797f39eb08e7d4617d624a2f.zip
Fix duplicate loading
Diffstat (limited to 'modern/src/SocketController.js')
-rw-r--r--modern/src/SocketController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js
index 6de3369a..d693c43d 100644
--- a/modern/src/SocketController.js
+++ b/modern/src/SocketController.js
@@ -54,7 +54,7 @@ const SocketController = (props) => {
}
connectSocket();
});
- }, []);
+ }, [dispatch, connectSocket]);
return null;
}