Skip to content

Commit 5b0e2f8

Browse files
committed
UserStatusScreen: Have clear button only clear the inputs, not save too
1 parent a0643fd commit 5b0e2f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/user-statuses/UserStatusScreen.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ export default function UserStatusScreen(props: Props): Node {
118118
const handlePressClear = useCallback(() => {
119119
setTextInputValue(inputValueFromStatusText(null));
120120
setEmojiInputValue(inputValueFromStatusEmoji(null));
121-
sendToServer({ status_text: null, status_emoji: null });
122-
}, [sendToServer]);
121+
}, []);
123122

124123
return (
125124
<Screen title="User status">

0 commit comments

Comments
 (0)