mirror of
https://github.com/vercel/commerce.git
synced 2025-05-14 13:47:49 +00:00
Add key for search
This commit is contained in:
parent
f369746e76
commit
8806b9c6c7
@ -27,6 +27,7 @@ export default function Search() {
|
|||||||
return (
|
return (
|
||||||
<form onSubmit={onSubmit} className="w-max-[550px] relative w-full lg:w-80 xl:w-full">
|
<form onSubmit={onSubmit} className="w-max-[550px] relative w-full lg:w-80 xl:w-full">
|
||||||
<input
|
<input
|
||||||
|
key={searchParams?.get('q')}
|
||||||
type="text"
|
type="text"
|
||||||
name="search"
|
name="search"
|
||||||
placeholder="Search for products..."
|
placeholder="Search for products..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user