diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-11-26 15:55:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-26 15:55:27 +0000 |
commit | ce1b04b9250d25ec781c7e1ee046ea6358a81a83 (patch) | |
tree | 952bc4c73345de774157dd6f9269493dcdaa31be /src/view/com/util/ViewSelector.tsx | |
parent | 56a88098d2ef8e271c7d63cb7d73cc220a787658 (diff) | |
download | voidsky-ce1b04b9250d25ec781c7e1ee046ea6358a81a83.tar.zst |
Fix `<List>` types (#6756)
* fix List and ScrollView types * add comment * rm omitting ref
Diffstat (limited to 'src/view/com/util/ViewSelector.tsx')
-rw-r--r-- | src/view/com/util/ViewSelector.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/ViewSelector.tsx b/src/view/com/util/ViewSelector.tsx index f8ba8f561..b5075707a 100644 --- a/src/view/com/util/ViewSelector.tsx +++ b/src/view/com/util/ViewSelector.tsx @@ -113,6 +113,7 @@ export const ViewSelector = React.forwardRef< ) return ( <FlatList_INTERNAL + // @ts-expect-error FlatList_INTERNAL ref type is wrong -sfn ref={flatListRef} data={data} keyExtractor={keyExtractor} |