Skip to content

Commit

Permalink
fix: keyboard will hide when we send message
Browse files Browse the repository at this point in the history
Signed-off-by: clegirar <clemntgirard@gmail.com>
  • Loading branch information
clegirar committed Jan 24, 2023
1 parent 0b1713e commit 44e3263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ lint.fix: node_modules
.PHONY: js.unused_exports
js.unused_exports: node_modules
$(call check-program, npx)
npx ts-unused-exports ./tsconfig.json --excludePathsFromReport="grpc-bridge;api;polyfill;packages/components/MiniGame.tsx;GoBridge.native.ts;PushTokenRequester.native.ts" --ignoreTestFiles --ignoreFiles='.*\.gen'
npx ts-unused-exports ./tsconfig.json --excludePathsFromReport="grpc-bridge;api;polyfill;packages/components/MiniGame.tsx;packages/components/chat/member-bar/MemberBar.tsx;GoBridge.native.ts;PushTokenRequester.native.ts" --ignoreTestFiles --ignoreFiles='.*\.gen'

###################
# Build/Run rules #
Expand Down
3 changes: 1 addition & 2 deletions js/packages/components/chat/footer/ChatFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ export const ChatFooter: React.FC<ChatFooterProps> = React.memo(
if (sending) {
return
}
setSending(true)
await sendMessageBouncy()
}, [setSending, sendMessageBouncy, sending])
}, [sendMessageBouncy, sending])

const handleTextChange = React.useCallback(
(text: string) => {
Expand Down

0 comments on commit 44e3263

Please sign in to comment.