Skip to content

fix: setting currentPurchaseError to undefined on useIAP hook unmount #1630

fix: setting currentPurchaseError to undefined on useIAP hook unmount

fix: setting currentPurchaseError to undefined on useIAP hook unmount #1630

Triggered via pull request May 11, 2024 14:39
Status Failure
Total duration 1m 31s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
build: src/hooks/useIAP.ts#L125
React Hook useEffect has a missing dependency: 'setCurrentPurchaseError'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.