about summary refs log tree commit diff
path: root/src/view/screens/PinnedFeeds.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/screens/PinnedFeeds.tsx
parenta2b089d3155afcdd9c7a43474692ab8c82fdf276 (diff)
downloadvoidsky-b672006f7e1c21c635eb4ec60e21910af586c00d.tar.zst
Reorganize custom-feed state models and add the missing _reactKey attribute
Diffstat (limited to 'src/view/screens/PinnedFeeds.tsx')
-rw-r--r--src/view/screens/PinnedFeeds.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/PinnedFeeds.tsx b/src/view/screens/PinnedFeeds.tsx
index ac901ba71..dc4e22a71 100644
--- a/src/view/screens/PinnedFeeds.tsx
+++ b/src/view/screens/PinnedFeeds.tsx
@@ -26,7 +26,7 @@ import DraggableFlatList, {
 } from 'react-native-draggable-flatlist'
 import {SavedFeedItem} from 'view/com/algos/SavedFeedItem'
 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {AlgoItemModel} from 'state/models/feeds/algo/algo-item'
+import {CustomFeedModel} from 'state/models/feeds/custom-feed'
 
 type Props = NativeStackScreenProps<CommonNavigatorParams, 'PinnedFeeds'>
 
@@ -101,7 +101,7 @@ export const PinnedFeeds = withAuthRequired(
 )
 
 const PinnedItem = observer(
-  ({item, drag}: {item: AlgoItemModel; drag: () => void}) => {
+  ({item, drag}: {item: CustomFeedModel; drag: () => void}) => {
     const pal = usePalette('default')
     const rootStore = useStores()
     const savedFeeds = useMemo(() => rootStore.me.savedFeeds, [rootStore])