From 665af6e9ad1af67ccee82b474d1b2f275dc61f28 Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Tue, 6 Oct 2020 13:28:26 -0500 Subject: [PATCH] Add keys --- components/ui/Grid/Grid.tsx | 4 ++-- components/ui/Marquee/Marquee.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ui/Grid/Grid.tsx b/components/ui/Grid/Grid.tsx index ab41fde06..530c7ed8b 100644 --- a/components/ui/Grid/Grid.tsx +++ b/components/ui/Grid/Grid.tsx @@ -35,8 +35,8 @@ const Grid: FC = ({ ) return (
- {items.map((data: any) => ( - + {items.map((data: any, i: any) => ( + ))}
) diff --git a/components/ui/Marquee/Marquee.tsx b/components/ui/Marquee/Marquee.tsx index 5caa959d4..566e1b260 100644 --- a/components/ui/Marquee/Marquee.tsx +++ b/components/ui/Marquee/Marquee.tsx @@ -43,8 +43,8 @@ const M: FC = ({ {({ index }) => (
- {items.map((p: any) => ( - + {items.map((p: any, i: any) => ( + ))}
)}