Skip to content

Commit

Permalink
fix sse
Browse files Browse the repository at this point in the history
  • Loading branch information
Davy-c committed Nov 24, 2021
1 parent 6583c51 commit 48fb48e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cloud/components/EventSource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ const EventSource = ({ teamId }: EventSourceProps) => {
(reconnectionDelayRef.current = defaultReconnectionDelay)
eventSourceRef.current.onmessage = (eventData: MessageEvent) => {
const event = JSON.parse(eventData.data) as SerializedAppEvent

switch (event.type) {
case 'teamUpdate':
teamUpdateHandler(event)
Expand Down

0 comments on commit 48fb48e

Please sign in to comment.