From fb3112ac91bc1c34fc501206ddf93ba2af60c622 Mon Sep 17 00:00:00 2001 From: nacho Date: Thu, 7 Apr 2022 16:34:02 -0300 Subject: [PATCH] fix tag --- pages/index.jsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/index.jsx b/pages/index.jsx index 5062a38..06bef2e 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -14,7 +14,7 @@ export default function Home() { } = useForm(); useEffect(() => { - console.log("entro") + setArticles({ found: "pending" }); const getOtherPage = async () => { console.log(getValues("article")) @@ -29,7 +29,7 @@ export default function Home() { } } getOtherPage() - }, [page]); + }, [page, getValues]); const onSubmit = async (dataForm) => { try { @@ -56,12 +56,12 @@ export default function Home() { return ( <>
-
-
-
+
+
+
-
+
@@ -129,12 +129,12 @@ export default function Home() { })} {/* */} -
+