mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 08:59:40 +05:00
fix: clear search results on new search. fix: related category title too long.
This commit is contained in:
parent
f8a6d18c37
commit
5aa8b1103e
2 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ export function SearchPage() {
|
|||
className="max-w-full mx-auto"
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
setContent(null)
|
||||
setQuery(e.target[0].value.trim());
|
||||
router.push(`/search?q=${e.target[0].value.trim()}`);
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue