From 4d93b9256a6c03a240e9848a3a0fcfafd4eada9f Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 1 Jan 2022 13:21:52 +0100 Subject: [PATCH] fix(nui): Add missing key to resource map --- ui/src/components/NavBars/LeftBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/NavBars/LeftBar.tsx b/ui/src/components/NavBars/LeftBar.tsx index cc6f700..2265731 100644 --- a/ui/src/components/NavBars/LeftBar.tsx +++ b/ui/src/components/NavBars/LeftBar.tsx @@ -31,8 +31,8 @@ const LeftBar: React.FC = () => { return ( - {initData.resources.map((resource) => ( - + {initData.resources.map((resource, index) => ( + {resource} ))}