From e3a13fb4a951b97b1f1447ead8aa60b361ad6add Mon Sep 17 00:00:00 2001 From: Harman-singh-waraich Date: Sun, 23 Jun 2024 19:00:58 +0530 Subject: [PATCH] fix(web): fix-list-page-breaks-after-list-creation-if-subgraph-doesnt-pick-items --- web/src/pages/AllLists/RegistryDetails/List/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/AllLists/RegistryDetails/List/index.tsx b/web/src/pages/AllLists/RegistryDetails/List/index.tsx index a33a4bf..ba7aef1 100644 --- a/web/src/pages/AllLists/RegistryDetails/List/index.tsx +++ b/web/src/pages/AllLists/RegistryDetails/List/index.tsx @@ -69,7 +69,7 @@ const List: React.FC = ({ registryAddress }) => { - {registryDetails?.registry.items + {registryDetails?.registry?.items ? registryDetails?.registry.items.map((item) => ) : Array.from({ length: 3 }).map((_, index) => )}