Skip to content

Commit

Permalink
feat: #845
Browse files Browse the repository at this point in the history
  • Loading branch information
TzuHanLiang committed Jun 7, 2023
1 parent 364d02d commit 52134ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contexts/worker_context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const WorkerProvider = ({children}: IWorkerProvider) => {
},
},
});
setPuser(pusher);
pusher.connection.bind('connected', function () {
const socketId = pusher.connection.socket_id;
setSocketId(socketId);
Expand Down

0 comments on commit 52134ab

Please sign in to comment.