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 730ffdd commit fc3b3ceCopy full SHA for fc3b3ce
apps/frontend/src/modules/shared/components/layout/SearchBox.tsx
@@ -28,7 +28,7 @@ export const SearchBox = () => {
28
type='text'
29
value={query}
30
onChange={(e) => setQuery(e.target.value)}
31
- placeholder='Search for songs and users'
+ placeholder='Search for songs'
32
className='w-full bg-zinc-800 text-white border border-zinc-600 rounded-md p-2'
33
/>
34
<button
@@ -37,10 +37,10 @@ export const SearchBox = () => {
37
const queryParam = new URLSearchParams({
38
page: '1',
39
limit: '20',
40
- query,
+ q: query,
41
});
42
43
- router.push(`/search-user?${queryParam.toString()}`);
+ router.push(`/search-song?${queryParam.toString()}`);
44
}}
45
>
46
<FontAwesomeIcon icon={faMagnifyingGlass} />
0 commit comments