Skip to content

Commit

Permalink
chore: update room names (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdyn authored Jun 25, 2024
1 parent 6b75df4 commit ecfb164
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/connect-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,32 +131,32 @@ export function ConnectButton() {
const officialDemos = [
{
name: "ProseMirror",
value: "prosemirror-demo",
value: "prosemirror-demo-2024/06",
url: "https://demos.yjs.dev/prosemirror/prosemirror.html",
},
{
name: "ProseMirror with Version History",
value: "prosemirror-versions-demo",
value: "prosemirror-versions-demo-2024/06",
url: "https://demos.yjs.dev/prosemirror-versions/prosemirror-versions.html",
},
{
name: "Quill",
value: "quill-demo-5",
value: "quill-demo-2024/06",
url: "https://demos.yjs.dev/quill/quill.html",
},
{
name: "Monaco",
value: "monaco-demo",
value: "monaco-demo-2024/06",
url: "https://demos.yjs.dev/monaco/monaco.html",
},
{
name: "CodeMirror",
value: "codemirror-demo",
value: "codemirror-demo-2024/06",
url: "https://demos.yjs.dev/codemirror/codemirror.html",
},
{
name: "CodeMirror 6",
value: "codemirror.next-demo",
value: "codemirror.next-demo-2024/06",
url: "https://demos.yjs.dev/codemirror.next/codemirror.next.html",
},
] as const;
Expand All @@ -168,8 +168,8 @@ function ConnectDialog({
}) {
const [yDoc] = useYDoc();
const [url, setUrl] = useState("wss://demos.yjs.dev/ws");
const [room, setRoom] = useState("quill-demo-5");
const [provider, setProvider] = useState("quill-demo-5");
const [room, setRoom] = useState("quill-demo-2024/06");
const [provider, setProvider] = useState("quill-demo-2024/06");
const [needCreateNewDoc, setNeedCreateNewDoc] = useState(true);
const officialDemo = officialDemos.find((demo) => demo.value === provider);

Expand Down

0 comments on commit ecfb164

Please sign in to comment.