@@ -226,14 +226,14 @@ export default function PortalHero({
|
||||
</p>
|
||||
|
||||
<form
|
||||
action="/oportunidades"
|
||||
action="/pesquisa"
|
||||
method="get"
|
||||
onSubmit={(event) => {
|
||||
event.preventDefault();
|
||||
const value = new FormData(event.currentTarget).get(
|
||||
'q',
|
||||
);
|
||||
router.get('/oportunidades', {
|
||||
router.get('/pesquisa', {
|
||||
q:
|
||||
typeof value === 'string'
|
||||
? value.trim()
|
||||
|
||||
Reference in New Issue
Block a user