-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(llm): prevent debounce causing memo change miss #8652
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
apps/ledger-live-mobile/src/newArch/features/MemoTag/hooks/useMemoTagInput.ts
Show resolved
Hide resolved
@@ -341,7 +341,12 @@ export default function SendSelectRecipient({ navigation, route }: Props) { | |||
testID="recipient-continue-button" | |||
type="primary" | |||
title={<Trans i18nKey="common.continue" />} | |||
disabled={debouncedBridgePending || !!status.errors.recipient || !!memoTag?.error} | |||
disabled={ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for readability, we can extract this above :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
14bb54a
to
2b5bfd0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
2b5bfd0
to
edb43f5
Compare
β Checklist
npx changeset
was attached.π Description
Prevent debounce from causing the memo tag not being saved.
Here's 2 example with the debounce set to 1 second for clarity:
the problem:
Screen.Recording.2024-12-10.at.10.54.13.mov
this PR's solution:
Screen.Recording.2024-12-10.at.10.57.02.mov
β Context
π§ Checklist for the PR Reviewers