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 1b11afb commit a8d53d3Copy full SHA for a8d53d3
src/start/RealmInputScreen.js
@@ -61,10 +61,6 @@ export default function RealmInputScreen(props: Props): Node {
61
}
62
}, [realmInputValue]);
63
64
- const handleRealmChange = useCallback(value => {
65
- setRealmInputValue(value);
66
- }, []);
67
-
68
const { navigation } = props;
69
70
const styles = {
@@ -86,7 +82,7 @@ export default function RealmInputScreen(props: Props): Node {
86
82
<SmartUrlInput
87
83
style={styles.input}
88
84
navigation={navigation}
89
- onChangeText={handleRealmChange}
85
+ onChangeText={setRealmInputValue}
90
onSubmitEditing={tryRealm}
91
enablesReturnKeyAutomatically
92
/>
0 commit comments