-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
RealmInputScreen [nfc]: Inline SmartUrlInput #5572
Conversation
1617e0d
to
d7723c5
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.
Thanks @chrisbobbe for this cleanup!
All looks good -- just one small further cleanup opportunity noted below. Please merge at will.
src/start/RealmInputScreen.js
Outdated
const handleRealmChange = useCallback(value => { | ||
setRealmInputValue(value); | ||
}, []); |
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.
Can simplify this (in a followup commit) to just setRealmInputValue
-- just refer to that directly instead of adding the name handleRealmChange
.
…rnKey… This and the next several commits prepare to inline the definition of SmartUrlInput at its only caller.
d7723c5
to
c93923e
Compare
Thanks for the review!
Merged, with that cleanup commit. |
No description provided.