Skip to content

Commit c065c47

Browse files
committed
fix: simplify SearcherBar component usage by removing unnecessary key prop
1 parent b49ed36 commit c065c47

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/routes/$chainSlug/_layout/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ function Index() {
2727
<h1 className="mb-2 text-lg font-extrabold md:text-2xl">
2828
The iExec Protocol Explorer
2929
</h1>
30-
<SearcherBar
31-
key={forwardedSearch ?? 'default'}
32-
initialSearch={forwardedSearch}
33-
/>
30+
<SearcherBar initialSearch={forwardedSearch} />
3431
<div className="absolute inset-0 -z-10 hidden blur-2xl sm:block sm:blur-[100px] lg:blur-[150px]">
3532
<div
3633
className="absolute top-1/2 -right-1/4 aspect-[23/30] w-1/2 rounded-full xl:-right-1/5"

0 commit comments

Comments
 (0)