Skip to content

Commit

Permalink
fix(web): fix-list-page-breaks-after-list-creation-if-subgraph-doesnt…
Browse files Browse the repository at this point in the history
…-pick-items
  • Loading branch information
Harman-singh-waraich committed Jun 23, 2024
1 parent 8d54924 commit e3a13fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/AllLists/RegistryDetails/List/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const List: React.FC<IList> = ({ registryAddress }) => {
<Search />
<StatsAndFilters fields={[{ label: "Items", value: totalItems?.toString() }]} />
<ListContainer>
{registryDetails?.registry.items
{registryDetails?.registry?.items
? registryDetails?.registry.items.map((item) => <ItemCard key={item.id} {...(item as ItemDetailsFragment)} />)
: Array.from({ length: 3 }).map((_, index) => <SkeletonItemCard key={index} />)}
</ListContainer>
Expand Down

0 comments on commit e3a13fb

Please sign in to comment.