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:
parent
6f52838531
commit
f4da5e692d
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user