diff options
| -rw-r--r-- | apps/mobile/app/dashboard/bookmarks/new.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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<string | undefined>(); 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" /> - <Button onPress={onSubmit}> + <Button onPress={onSubmit} disabled={isPending}> <Text>Save</Text> </Button> </View> |
