Skip to content

Commit

Permalink
remove fragment from svelte store
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefED committed Feb 1, 2022
1 parent 9c8f05d commit be4e83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/theme/CodeBlock/templates/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import { WebrtcProvider } from "y-webrtc";
import { svelteSyncedStore } from "@syncedstore/svelte";
// Create your SyncedStore store
export const store = syncedStore({ todos: [], fragment: "xml" });
export const store = syncedStore({ todos: [] });
export const svelteStore = svelteSyncedStore(store);
// Create a document that syncs automatically using Y-WebRTC
Expand Down

0 comments on commit be4e83b

Please sign in to comment.