Skip to content

Commit

Permalink
fix error search
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignaherrero committed Apr 8, 2022
1 parent 1e56ae5 commit 990e4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Home() {
`https://beta.mejorconsalud.com/wp-json/mc/v3/posts?search=${getValues(
"article"
)}${
getValues("relevant") ? `&orderby=${dataForm.relevant}` : ""
getValues("relevant") ? `&orderby=${getValues("relevant")}` : ""
}&page=${page}`
);
let data = await response.json();
Expand Down

1 comment on commit 990e4d9

@vercel
Copy link

@vercel vercel bot commented on 990e4d9 Apr 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

challenge-atomik – ./

challenge-atomik.vercel.app
challenge-atomik-nacho93.vercel.app
challenge-atomik-git-main-nacho93.vercel.app

Please sign in to comment.