We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fcb436 + 07812c4 commit 6948872Copy full SHA for 6948872
app/[locale]/(user)/components/ListingComponent.tsx
@@ -410,10 +410,12 @@ const ListingComponent: React.FC<ListingProps> = ({
410
<div className="flex flex-wrap items-center justify-between gap-5 rounded-2 py-2 lg:flex-nowrap">
411
<div className="w-full md:block">
412
<SearchInput
413
+ key={queryParams.query}
414
label="Search"
415
name="Search"
416
className={cn(Styles.Search)}
417
placeholder={placeholder}
418
+ defaultValue={queryParams.query}
419
onSubmit={(value) => handleSearch(value)}
420
onClear={(value) => handleSearch(value)}
421
/>
0 commit comments