From f48849777372487bfd22bd0144e9ada950df8412 Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Thu, 2 Feb 2023 22:28:39 +0800 Subject: [PATCH] fix(a11y): aria ids are not unique --- app/components/top-navigation.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/components/top-navigation.tsx b/app/components/top-navigation.tsx index da9bfb3..9f2a803 100644 --- a/app/components/top-navigation.tsx +++ b/app/components/top-navigation.tsx @@ -21,6 +21,7 @@ const navigation = [ ] export type TopNavigationProps = { + id: string keyword: string setKeyword: (keyword: string) => void } @@ -36,7 +37,7 @@ const SearchBar = (props: TopNavigationProps) => {