From b37a9ae81d75964ac1f650432aba63fa92a1311d Mon Sep 17 00:00:00 2001 From: Razze Date: Sat, 14 Oct 2023 16:25:44 +0200 Subject: [PATCH] Add more keys to addon page --- src/components/AddonLayout.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/AddonLayout.tsx b/src/components/AddonLayout.tsx index 9ac7734de..3ca4c70de 100644 --- a/src/components/AddonLayout.tsx +++ b/src/components/AddonLayout.tsx @@ -123,6 +123,7 @@ export default function AddonLayout({ (author: { name: string; slug: string }, index: any) => { return ( { return (
- {details.map((item, index) => ( + {details.map(item => ( <> {item.datatype === "link" ? (
@@ -196,8 +198,8 @@ export default function AddonLayout({ {item.title}
- {item.data.map((platform, index) => ( -
+ {item.data.map(platform => ( +