Skip to content

Commit

Permalink
Update packages/core/useWebSocket/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 25, 2023
1 parent ac3fb07 commit 803a762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useWebSocket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export function useWebSocket<Data = any>(
pongTimeoutWait = setTimeout(() => {
// auto-reconnect will be trigger with ws.onclose()
close()
explicitlyClosed = false;
explicitlyClosed = false
}, pongTimeout)
},
interval,
Expand Down

0 comments on commit 803a762

Please sign in to comment.