diff options
author | Eric Bailey <git@esb.lol> | 2024-06-28 08:27:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 08:27:54 -0500 |
commit | 1a037d35429b119d1751930068dfcf3b2b94dbde (patch) | |
tree | 1ed67badc6e6d2ac1a2ee09c3c80bfbc65083d95 /src/view/com/lists/ProfileLists.tsx | |
parent | 58a97db5b8e9c62d68c4ce6398d1213469ee38b2 (diff) | |
download | voidsky-1a037d35429b119d1751930068dfcf3b2b94dbde.tar.zst |
FeedCard & ListCard cleanups (#4644)
* Extract ListCard from FeedCard * Export FeedCard.Action and optionally include in ListCard * Remove list dual usage from most of FeedCard * Update usages of FeedCard and ListCard * Add back list purpose logic * Make Action comp easier to use, clarify list purpose * Rename Action to SaveButton
Diffstat (limited to 'src/view/com/lists/ProfileLists.tsx')
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx index 62c944efc..dc385d436 100644 --- a/src/view/com/lists/ProfileLists.tsx +++ b/src/view/com/lists/ProfileLists.tsx @@ -18,7 +18,7 @@ import {useAnalytics} from 'lib/analytics/analytics' import {FeedLoadingPlaceholder} from '#/view/com/util/LoadingPlaceholder' import {EmptyState} from 'view/com/util/EmptyState' import {atoms as a, useTheme} from '#/alf' -import * as FeedCard from '#/components/FeedCard' +import * as ListCard from '#/components/ListCard' import {ErrorMessage} from '../util/error/ErrorMessage' import {List, ListRef} from '../util/List' import {LoadMoreRetryBtn} from '../util/LoadMoreRetryBtn' @@ -172,7 +172,7 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>( a.px_lg, a.py_lg, ]}> - <FeedCard.Default type="list" view={item} /> + <ListCard.Default view={item} /> </View> ) }, |