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 beaaefb commit 4d8d88fCopy full SHA for 4d8d88f
packages/uikit-react-native/src/components/ChatFlatList/FlatListInternal.tsx
@@ -9,15 +9,13 @@ function shouldUseScrollViewEnhancer() {
9
return false;
10
}
11
12
-let FlatListInternal;
+let FlatListInternal = require('react-native').FlatList;
13
if (shouldUseScrollViewEnhancer()) {
14
try {
15
FlatListInternal = require('@sendbird/react-native-scrollview-enhancer').FlatList;
16
} catch {
17
FlatListInternal = require('react-native').FlatList;
18
19
-} else {
20
- FlatListInternal = require('react-native').FlatList;
21
22
23
export default FlatListInternal;
0 commit comments