Skip to content

Commit

Permalink
docs: remove extra deep plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mausworks committed Feb 19, 2024
1 parent a1efd77 commit 3490e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export type SyncPlugin<T extends AnyState, S extends {}> = Plugin<
* import { Note } from "@/types";
*
* const useUserNotes = extend(storeHook<Note[]>([]))
* .with((store) =>
* .with(
* sync({
* push: (notes, userId: string) =>
* fetch(`/api/notes/${userId}`, {
Expand Down

0 comments on commit 3490e6a

Please sign in to comment.