Skip to content

Commit b89b963

Browse files
authored
Merge pull request #97 from powersync-ja/fix-yjs-demo
Fix regressions in Yjs demo.
2 parents 2e3091e + 45075a3 commit b89b963

File tree

6 files changed

+595
-120
lines changed

6 files changed

+595
-120
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
SUPABASE_URL=
2-
SUPABASE_ANON_KEY=
3-
POWERSYNC_URL=
1+
VITE_SUPABASE_URL=
2+
VITE_SUPABASE_ANON_KEY=
3+
VITE_POWERSYNC_URL=

demos/yjs-react-supabase-text-collab/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@mui/icons-material": "^5.15.12",
2020
"@mui/material": "^5.15.12",
2121
"@mui/x-data-grid": "^6.19.6",
22-
"@supabase/supabase-js": "^2.39.7",
22+
"@supabase/supabase-js": "^2.39.8",
2323
"@tiptap/extension-collaboration": "2.2.2",
2424
"@tiptap/extension-collaboration-cursor": "2.2.2",
2525
"@tiptap/extension-highlight": "2.2.2",
@@ -50,16 +50,16 @@
5050
"yjs": "^13.6.14"
5151
},
5252
"devDependencies": {
53-
"@types/lodash": "^4.14.202",
54-
"@types/node": "^20.11.25",
55-
"@types/react": "^18.2.64",
53+
"@types/lodash": "^4.17.0",
54+
"@types/node": "^20.11.26",
55+
"@types/react": "^18.2.65",
5656
"@types/react-dom": "^18.2.21",
5757
"@types/uuid": "9.0.8",
5858
"autoprefixer": "^10.4.18",
5959
"postcss": "^8.4.35",
6060
"style-loader": "^3.3.4",
6161
"supabase": "1.142.2",
62-
"vite": "^5.1.5",
62+
"vite": "^5.1.6",
6363
"vite-plugin-pwa": "^0.19.2",
6464
"vite-plugin-top-level-await": "^1.4.1",
6565
"vite-plugin-wasm": "^3.3.0"

demos/yjs-react-supabase-text-collab/src/app/editor/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EditorContent, useEditor } from '@tiptap/react';
1212
import StarterKit from '@tiptap/starter-kit';
1313
import * as Y from 'yjs';
1414
import './tiptap-styles.scss';
15-
import { useParams } from 'react-router';
15+
import { useParams } from 'react-router-dom';
1616

1717
export default function EditorPage() {
1818
const powerSync = usePowerSync();
-1.18 KB
Binary file not shown.

demos/yjs-react-supabase-text-collab/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { CircularProgress, Grid, styled } from '@mui/material';
33
import { useSupabase } from '@/components/providers/SystemProvider';
4-
import { useNavigate } from 'react-router';
4+
import { useNavigate } from 'react-router-dom';
55

66
export default function EntryPage() {
77
const navigate = useNavigate();

0 commit comments

Comments
 (0)