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.
1 parent 206fca1 commit 07812c4Copy full SHA for 07812c4
app/[locale]/(user)/components/ListingComponent.tsx
@@ -396,10 +396,12 @@ const ListingComponent: React.FC<ListingProps> = ({
396
<div className="flex flex-wrap items-center justify-between gap-5 rounded-2 py-2 lg:flex-nowrap">
397
<div className="w-full md:block">
398
<SearchInput
399
+ key={queryParams.query}
400
label="Search"
401
name="Search"
402
className={cn(Styles.Search)}
403
placeholder={placeholder}
404
+ defaultValue={queryParams.query}
405
onSubmit={(value) => handleSearch(value)}
406
onClear={(value) => handleSearch(value)}
407
/>
0 commit comments