Skip to content

Commit

Permalink
elimino imp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignaherrero committed May 6, 2022
1 parent ffed7bd commit af160c2
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions pages/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dynamic from "next/dynamic";
import Head from "next/head";
import { Suspense, useState } from "react";
import { useState } from "react";
import { useForm } from "react-hook-form";
import { statusFetch } from "../helper/constants";
import { useCounter } from "../helper/useCounter";
Expand Down Expand Up @@ -35,28 +35,25 @@ export default function Home() {
<title>MejorConsalud</title>
<meta name="description" content="contenido saludable" />
</Head>
<Suspense fallback={`...loading`}>
<Search
articles={articles}
setArticles={setArticles}
handleSubmit={handleSubmit}
register={register}
reset={reset}
/>
</Suspense>
<Suspense fallback={`...loading`}>
<Card articles={articles} />
</Suspense>
<Suspense fallback={`...loading`}>
<Pagination
articles={articles}
getValues={getValues}
setArticles={setArticles}
counter={counter}
increment={increment}
decrement={decrement}
/>
</Suspense>

<Search
articles={articles}
setArticles={setArticles}
handleSubmit={handleSubmit}
register={register}
reset={reset}
/>

<Card articles={articles} />

<Pagination
articles={articles}
getValues={getValues}
setArticles={setArticles}
counter={counter}
increment={increment}
decrement={decrement}
/>
</>
);
}
Expand Down

1 comment on commit af160c2

@vercel
Copy link

@vercel vercel bot commented on af160c2 May 6, 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-git-main-nacho93.vercel.app
challenge-atomik-nacho93.vercel.app
challenge-atomik.vercel.app

Please sign in to comment.