Skip to content

Commit

Permalink
properly type
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 6, 2023
1 parent 8db857b commit 869a54c
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -73,13 +73,13 @@ export const InterfaceCreateSoulname = (): JSX.Element => {
}, [masa, debounceSearch, paymentMethod, registrationPeriod]);

const handleChangeSoulname = useCallback(
(e) => {
setSoulname(e.target.value);
(event: React.ChangeEvent<HTMLInputElement>) => {
setSoulname(event.target.value);
},
[setSoulname]
);

const updatePeriod = (num) => {
const updatePeriod = (num: number) => {
setRegistrationPeriod(registrationPeriod + num);
};

Expand Down

0 comments on commit 869a54c

Please sign in to comment.