From 3490e6a0bacc4f1f2b902fd2a0395db41c5a42d6 Mon Sep 17 00:00:00 2001 From: mausworks Date: Mon, 19 Feb 2024 21:50:07 +0100 Subject: [PATCH] docs: remove extra deep plugin --- src/plugin-sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin-sync.ts b/src/plugin-sync.ts index c2a455b..7cdc9f8 100644 --- a/src/plugin-sync.ts +++ b/src/plugin-sync.ts @@ -146,7 +146,7 @@ export type SyncPlugin = Plugin< * import { Note } from "@/types"; * * const useUserNotes = extend(storeHook([])) - * .with((store) => + * .with( * sync({ * push: (notes, userId: string) => * fetch(`/api/notes/${userId}`, {