generated at
useInterval
これはsetIntervalの問題を解決している

usehooks-tsのuseIntervalはうまくいかなかった