When typing :msi instead of :smi , a warning is triggered in the AutoCompleteSuggestionList component:
TypeError: Cannot read property 'skin_variations' of undefined
Steps to reproduce
Steps to reproduce the behavior:
Have a MessageInput with the default AutoCompleteSuggestionList
type :msi, which does not find an emoji.
the warning TypeError: Cannot read property 'skin_variations' of undefined comes up
Expected behavior
No warning is returned, it should just not find any emojis
Project Related Information
Customization
Click To Expand
```typescript jsx
# N/A
```
Offline support
[ ] I have enabled offline support.
[ ] The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)
Environment
Click To Expand
#### `package.json`:
```json
# N/A
```
**`react-native info` output:**
```
OUTPUT GOES HERE
```
- **Platform that you're experiencing the issue on**:
- [ ] iOS
- [ ] Android
- [ ] **iOS** but have not tested behavior on Android
- [ ] **Android** but have not tested behavior on iOS
- [ ] Both
- **`stream-chat-react-native` version you're using that has this issue:**
- `e.g. 5.4.3`
- Device/Emulator info:
- [ ] I am using a physical device
- OS version: `e.g. Android 10`
- Device/Emulator: `e.g. iPhone 11`
Issue
When typing :msi instead of :smi , a warning is triggered in the AutoCompleteSuggestionList component:
TypeError: Cannot read property 'skin_variations' of undefined
Steps to reproduce
Steps to reproduce the behavior:
MessageInput
with the defaultAutoCompleteSuggestionList
TypeError: Cannot read property 'skin_variations' of undefined
comes upExpected behavior
No warning is returned, it should just not find any emojis
Project Related Information
Customization
Click To Expand
```typescript jsx # N/A ```
Offline support
Environment
Click To Expand
#### `package.json`: ```json # N/A ``` **`react-native info` output:** ``` OUTPUT GOES HERE ``` - **Platform that you're experiencing the issue on**: - [ ] iOS - [ ] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`stream-chat-react-native` version you're using that has this issue:** - `e.g. 5.4.3` - Device/Emulator info: - [ ] I am using a physical device - OS version: `e.g. Android 10` - Device/Emulator: `e.g. iPhone 11`
Additional context
Screenshots
Click To Expand
![simulator_screenshot_239BCD36-AA9C-4F36-85F3-32431B5F2AFC](https://github.com/GetStream/stream-chat-react-native/assets/60874935/48d5e5f7-de3c-47e4-80e0-4f644fffe5ac)