diff --git a/front/index.html b/front/index.html index a8290b7..e4b78ea 100644 --- a/front/index.html +++ b/front/index.html @@ -5,7 +5,6 @@
No articles found
} {loading &&Loading...
} {error &&{error}
} diff --git a/front/src/components/Button.tsx b/front/src/components/Button.tsx index 3f548fd..654bda5 100644 --- a/front/src/components/Button.tsx +++ b/front/src/components/Button.tsx @@ -1,14 +1,14 @@ import { ReactNode, MouseEventHandler } from 'react'; interface ButtonProps { + onClick: MouseEventHandler