mirror of
https://github.com/SomboChea/ui
synced 2024-12-25 21:54:26 +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