Skip to content

Commit b24b01c

Browse files
committed
correct import
1 parent e33b29e commit b24b01c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/frontend/apps/impress/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@types/node": "*",
5757
"@types/react": "18.3.12",
5858
"@types/react-dom": "*",
59+
"@types/ws": "8.5.13",
5960
"cross-env": "7.0.3",
6061
"dotenv": "16.4.7",
6162
"eslint-config-impress": "*",

src/frontend/apps/impress/src/features/docs/doc-management/libs/CollaborationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { MessageEvent } from 'ws';
1111
import * as Y from 'yjs';
1212

1313
import { isAPIError } from '@/api';
14-
import { isFirefox } from '@/utils';
14+
//import { isFirefox } from '@/utils';
1515

1616
import { pollOutgoingMessageRequest, postPollSyncRequest } from '../api';
1717
import { toBase64 } from '../utils';

src/frontend/servers/y-provider/src/libs/PollSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@hocuspocus/server';
1212
import { Request, Response } from 'express';
1313
import { v4 as uuid } from 'uuid';
14-
import { readSyncMessage, readUpdate } from 'y-protocols/sync.js';
14+
import { readSyncMessage } from 'y-protocols/sync';
1515
import * as Y from 'yjs';
1616

1717
import { base64ToYDoc, logger, toBase64 } from '@/utils';

0 commit comments

Comments
 (0)