From f4da5e692d0362c63d0c0cd0fd6bd7d4c2758343 Mon Sep 17 00:00:00 2001 From: antoinechalifour Date: Thu, 3 Oct 2019 20:17:27 +0200 Subject: [PATCH] fix(Developers): remove compilation warnings --- src/components/Developers/Developers.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Developers/Developers.tsx b/src/components/Developers/Developers.tsx index 2fd3e31..69a1ea6 100644 --- a/src/components/Developers/Developers.tsx +++ b/src/components/Developers/Developers.tsx @@ -18,7 +18,7 @@ const Developers: FC = ({ type, visibleMax }) => { const [visibleDevs, setVisibleDevs] = React.useState(visibleMax || VISIBLE_MAX); const { packageMeta } = React.useContext(DetailContext); - const handleLoadMore = () => { + const handleLoadMore = (): void => { setVisibleDevs(visibleDevs + VISIBLE_MAX); };