adding template/flow for adding in a line I was added to

This commit is contained in:
talksik
2022-05-07 15:41:57 -05:00
parent cc02c95b2d
commit 79cfdc4b96
2 changed files with 4 additions and 3 deletions
@@ -58,6 +58,10 @@ function useSocketHandler(linesData: MasterLineData[]) {
* initiate listeners
*/
useEffect(() => {
/**
* TODO: P0 : notified that someone else added me to a line they created
*/
// when me or anyone just initially connects to line
$ws.on(
ServerResponseChannels.SOMEONE_CONNECTED_TO_LINE,