This commit is contained in:
Untone 2023-12-25 02:12:32 +03:00
parent e402ff05be
commit 7be5ebebc7

View File

@ -10,7 +10,7 @@ export const SearchModal = () => {
const submitQuery = async (ev) => {
ev.preventDefault()
window.history.pushState({}, '', '/search?q=' + qElement.value)
window.history.pushState({}, '', '/search/' + qElement.value)
}
return (
<form onSubmit={submitQuery} class={styles.searchForm}>