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