From 2e79a554a05fb94078c18d328f6c91c6dba5a6f2 Mon Sep 17 00:00:00 2001 From: LiuLiu Date: Tue, 3 Dec 2024 11:17:23 -0800 Subject: [PATCH] null --- .../pageComponents/DatabasePage/ForRemotes/RemoteRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/renderer/components/pageComponents/DatabasePage/ForRemotes/RemoteRow.tsx b/web/renderer/components/pageComponents/DatabasePage/ForRemotes/RemoteRow.tsx index 7c8c284f..b9e3e205 100644 --- a/web/renderer/components/pageComponents/DatabasePage/ForRemotes/RemoteRow.tsx +++ b/web/renderer/components/pageComponents/DatabasePage/ForRemotes/RemoteRow.tsx @@ -10,10 +10,10 @@ export default function RemoteRow({ remote }: Props) { {remote.name} {remote.url} - {remote.fetchSpecs.map((fs, i) => ( + {remote.fetchSpecs?.map((fs, i) => ( {fs} - {i < remote.fetchSpecs.length - 1 ? ", " : ""} + {i < (remote.fetchSpecs?.length ?? 0) - 1 ? ", " : ""} ))}