diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-17 13:52:16 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-05-17 13:52:16 -0500 |
commit | b672006f7e1c21c635eb4ec60e21910af586c00d (patch) | |
tree | 3f42849f6c132ccd5bb2ff9c9dffe94e203628d8 /src/view/screens/PinnedFeeds.tsx | |
parent | a2b089d3155afcdd9c7a43474692ab8c82fdf276 (diff) | |
download | voidsky-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.tsx | 4 |
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]) |