about summary refs log tree commit diff
path: root/src/view
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-05 22:27:36 +0000
committerGitHub <noreply@github.com>2024-11-05 22:27:36 +0000
commit84fb1b7f97af7cdcaac1049d2c843c421d50539a (patch)
treeb4307d6599b3c600a732f41e123de7ab4c78f917 /src/view
parentb0c5a37daabc04570d33776de6c13be87a795491 (diff)
downloadvoidsky-84fb1b7f97af7cdcaac1049d2c843c421d50539a.tar.zst
Update Reanimated (#6126)
* Update Reanimated

* Fix types

* Fix Reanimated value access warnings

* Fix types
Diffstat (limited to 'src/view')
-rw-r--r--src/view/com/util/List.web.tsx2
-rw-r--r--src/view/com/util/Views.web.tsx4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/view/com/util/List.web.tsx b/src/view/com/util/List.web.tsx
index 5f89cfbbc..d35ac1476 100644
--- a/src/view/com/util/List.web.tsx
+++ b/src/view/com/util/List.web.tsx
@@ -1,6 +1,6 @@
 import React, {isValidElement, memo, startTransition, useRef} from 'react'
 import {FlatListProps, StyleSheet, View, ViewProps} from 'react-native'
-import {ReanimatedScrollEvent} from 'react-native-reanimated/lib/typescript/reanimated2/hook/commonTypes'
+import {ReanimatedScrollEvent} from 'react-native-reanimated/lib/typescript/hook/commonTypes'
 
 import {batchedUpdates} from '#/lib/batchedUpdates'
 import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
diff --git a/src/view/com/util/Views.web.tsx b/src/view/com/util/Views.web.tsx
index 272cc9dd5..1f030b408 100644
--- a/src/view/com/util/Views.web.tsx
+++ b/src/view/com/util/Views.web.tsx
@@ -70,7 +70,9 @@ export const FlatList_INTERNAL = React.forwardRef(function FlatListImpl<ItemT>(
     contentOffset,
     desktopFixedHeight,
     ...props
-  }: React.PropsWithChildren<FlatListProps<ItemT> & AddedProps>,
+  }: React.PropsWithChildren<
+    Omit<FlatListProps<ItemT>, 'CellRendererComponent'> & AddedProps
+  >,
   ref: React.Ref<FlatList<ItemT>>,
 ) {
   const pal = usePalette('default')