1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-05 06:04:28 +07:00

fix(Developers): remove compilation warnings

This commit is contained in:
antoinechalifour 2019-10-03 20:17:27 +02:00
parent 6f52838531
commit f4da5e692d

View File

@ -18,7 +18,7 @@ const Developers: FC<Props> = ({ type, visibleMax }) => {
const [visibleDevs, setVisibleDevs] = React.useState<number>(visibleMax || VISIBLE_MAX);
const { packageMeta } = React.useContext(DetailContext);
const handleLoadMore = () => {
const handleLoadMore = (): void => {
setVisibleDevs(visibleDevs + VISIBLE_MAX);
};