diff --git a/web/app/components/plugins/marketplace/list/index.tsx b/web/app/components/plugins/marketplace/list/index.tsx index 604211fb5b..8db131f42a 100644 --- a/web/app/components/plugins/marketplace/list/index.tsx +++ b/web/app/components/plugins/marketplace/list/index.tsx @@ -5,7 +5,7 @@ import ListWithCollection from './list-with-collection' import Card from '@/app/components/plugins/card' import CardMoreInfo from '@/app/components/plugins/card/card-more-info' -interface ListProps { +type ListProps = { marketplaceCollections: MarketplaceCollection[] marketplaceCollectionPluginsMap: Record plugins?: Plugin[] @@ -16,7 +16,7 @@ const List = ({ plugins, }: ListProps) => { return ( -
+ <> { !plugins && ( ) } -
+ ) } diff --git a/web/app/components/plugins/marketplace/list/list-wrapper.tsx b/web/app/components/plugins/marketplace/list/list-wrapper.tsx index 8272edf480..68713ceb81 100644 --- a/web/app/components/plugins/marketplace/list/list-wrapper.tsx +++ b/web/app/components/plugins/marketplace/list/list-wrapper.tsx @@ -15,11 +15,13 @@ const ListWrapper = ({ const plugins = useMarketplaceContext(s => s.plugins) return ( - +
+ +
) }