✨ Working form submission with query params
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
cd63407d03
commit
20aaef67d7
3 changed files with 7 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ function App() {
|
|||
} else {
|
||||
setLoading(false)
|
||||
}
|
||||
}, [])
|
||||
}, [location.search])
|
||||
|
||||
const calculatePages = (totalResults: number): number => {
|
||||
return Math.round(totalResults / 10)
|
||||
|
|
|
|||
Reference in a new issue