This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Description
Tsup generates a typings file that assumes the name of the isRunning exported variable as "isLoading" incorrectly. Obviously if you use this, it doesn't work and if you use isRunning, Typescript errors.
Check out the client.d.ts file at https://www.npmjs.com/package/zact?activeTab=code
Anyway, I guess it's not ever a good idea to not keep your state variable name and setter aligned like you do here:
|
const [isRunning, setIsLoading] = useState(false); |