We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4097cd2 commit 549fe6cCopy full SHA for 549fe6c
socket.ts
@@ -39,7 +39,7 @@ const url =
39
let error: string | Event | undefined;
40
41
const importSocketIO = async (): Promise<IO> => {
42
- if (!error) throw error;
+ if (error) throw error;
43
if (!document.querySelector(`script[src="${url}"]`)) {
44
const script = document.createElement("script");
45
script.src = url;
0 commit comments