File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ The React Native components are created using the stream-chat-js library. If you
75751. Navigation between different component is something we expect consumers to
7676 implement. You can checkout the example given in this repository
7777
78+ 2. Minor releases may come with some breaking changes, so always check the release notes before upgrading minor version.
79+
7880Library currently exposes following components:
7981
80821. Avatar
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ const MessageInput = withKeyboardContext(
455455 return ;
456456
457457 const result = await pickDocument ( ) ;
458- if ( result . type === 'cancel' ) {
458+ if ( result . type === 'cancel' || result . cancelled ) {
459459 return ;
460460 }
461461 const mimeType = lookup ( result . name ) ;
You can’t perform that action at this time.
0 commit comments