From 797d13fd0d53c36c9ec83e7948d249bf6160d37c Mon Sep 17 00:00:00 2001 From: Paul W Date: Tue, 4 Oct 2022 23:46:16 -0400 Subject: [PATCH] Add nav key prop --- pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 0d3460d..564db8a 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -11,8 +11,8 @@ function Nav() { return (
{ - Object.entries(nav).map(([k, v]) => { - return + Object.entries(nav).map(([k, v], i) => { + return {k} })