We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6c6c1 commit 03da3faCopy full SHA for 03da3fa
src/start/RealmInputScreen.js
@@ -53,10 +53,6 @@ export default function RealmInputScreen(props: Props): Node {
53
}
54
}, [realmInputValue]);
55
56
- const handleRealmChange = useCallback(value => {
57
- setRealmInputValue(value);
58
- }, []);
59
-
60
const { navigation } = props;
61
62
const styles = {
@@ -78,7 +74,7 @@ export default function RealmInputScreen(props: Props): Node {
78
74
<SmartUrlInput
79
75
style={styles.input}
80
76
navigation={navigation}
81
- onChangeText={handleRealmChange}
77
+ onChangeText={setRealmInputValue}
82
onSubmitEditing={tryRealm}
83
enablesReturnKeyAutomatically
84
/>
0 commit comments