From 1e0cce7e6f79ccea00fc740aabc2b05918d17984 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 31 Aug 2025 14:56:59 +0100 Subject: fix(mobile): Disable the save button when bookmark is being saved --- apps/mobile/app/dashboard/bookmarks/new.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/mobile') diff --git a/apps/mobile/app/dashboard/bookmarks/new.tsx b/apps/mobile/app/dashboard/bookmarks/new.tsx index 50f8f2a7..51db6d97 100644 --- a/apps/mobile/app/dashboard/bookmarks/new.tsx +++ b/apps/mobile/app/dashboard/bookmarks/new.tsx @@ -19,7 +19,7 @@ const NoteEditorPage = () => { const [error, setError] = useState(); const { toast } = useToast(); - const { mutate: createBookmark } = useCreateBookmark({ + const { mutate: createBookmark, isPending } = useCreateBookmark({ onSuccess: (resp) => { if (resp.alreadyExists) { toast({ @@ -69,7 +69,7 @@ const NoteEditorPage = () => { autoCapitalize={"none"} textAlignVertical="top" /> - -- cgit v1.2.3-70-g09d2