about summary refs log tree commit diff
path: root/src/view/com/algos/AlgoItem.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-17 13:52:16 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-05-17 13:52:16 -0500
commitb672006f7e1c21c635eb4ec60e21910af586c00d (patch)
tree3f42849f6c132ccd5bb2ff9c9dffe94e203628d8 /src/view/com/algos/AlgoItem.tsx
parenta2b089d3155afcdd9c7a43474692ab8c82fdf276 (diff)
downloadvoidsky-b672006f7e1c21c635eb4ec60e21910af586c00d.tar.zst
Reorganize custom-feed state models and add the missing _reactKey attribute
Diffstat (limited to 'src/view/com/algos/AlgoItem.tsx')
-rw-r--r--src/view/com/algos/AlgoItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/algos/AlgoItem.tsx b/src/view/com/algos/AlgoItem.tsx
index 45526309f..ea45005d3 100644
--- a/src/view/com/algos/AlgoItem.tsx
+++ b/src/view/com/algos/AlgoItem.tsx
@@ -12,7 +12,7 @@ import {colors, s} from 'lib/styles'
 import {UserAvatar} from '../util/UserAvatar'
 import {Button} from '../util/forms/Button'
 import {observer} from 'mobx-react-lite'
-import {AlgoItemModel} from 'state/models/feeds/algo/algo-item'
+import {CustomFeedModel} from 'state/models/feeds/custom-feed'
 import {useFocusEffect, useNavigation} from '@react-navigation/native'
 import {NavigationProp} from 'lib/routes/types'
 import {useStores} from 'state/index'
@@ -28,7 +28,7 @@ const AlgoItem = observer(
     showBottom = true,
     reloadOnFocus = false,
   }: {
-    item: AlgoItemModel
+    item: CustomFeedModel
     style?: StyleProp<ViewStyle>
     showBottom?: boolean
     reloadOnFocus?: boolean