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/Profile.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/Profile.tsx')
-rw-r--r-- | src/view/screens/Profile.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 9c8dd458c..9c204f14f 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -26,7 +26,7 @@ import {s, colors} from 'lib/styles' import {useAnalytics} from 'lib/analytics' import {ComposeIcon2} from 'lib/icons' import AlgoItem from 'view/com/algos/AlgoItem' -import {AlgoItemModel} from 'state/models/feeds/algo/algo-item' +import {CustomFeedModel} from 'state/models/feeds/custom-feed' import {useSetTitle} from 'lib/hooks/useSetTitle' import {combinedDisplayName} from 'lib/strings/display-names' @@ -188,7 +188,7 @@ export const ProfileScreen = withAuthRequired( return ( <FeedSlice slice={item} ignoreMuteFor={uiState.profile.did} /> ) - } else if (item instanceof AlgoItemModel) { + } else if (item instanceof CustomFeedModel) { return <AlgoItem item={item} /> } } |