Skip to content

fix: setAtom uses stale pending on atom unmount #2320

fix: setAtom uses stale pending on atom unmount

fix: setAtom uses stale pending on atom unmount #2320

Triggered via pull request November 11, 2024 23:37
Status Failure
Total duration 2m 3s
Artifacts

test-old-typescript.yml

on: pull_request
Matrix: test_matrix
Fit to window
Zoom out
Zoom in

Annotations

8 errors
test_matrix (4.1.5): tests/vanilla/store.test.tsx#L588
Argument of type 'OnMount<[SetStateAction<number>], void> | undefined' is not assignable to parameter of type '(setAtom: SetAtom<[SetStateAction<number>], void>) => void | OnUnmount'.
test_matrix (4.1.5)
Process completed with exit code 1.
test_matrix (4.2.3): tests/vanilla/store.test.tsx#L588
Argument of type 'OnMount<[SetStateAction<number>], void> | undefined' is not assignable to parameter of type '(setAtom: SetAtom<[SetStateAction<number>], void>) => void | OnUnmount'.
test_matrix (4.2.3)
Process completed with exit code 1.
test_matrix (4.3.5): tests/vanilla/store.test.tsx#L587
Argument of type 'OnMount<[SetStateAction<number>], void> | undefined' is not assignable to parameter of type '(setAtom: SetAtom<[SetStateAction<number>], void>) => void | OnUnmount'.
test_matrix (4.3.5)
Process completed with exit code 1.
test_matrix (4.4.4): tests/vanilla/store.test.tsx#L587
Argument of type 'OnMount<[SetStateAction<number>], void> | undefined' is not assignable to parameter of type '(setAtom: SetAtom<[SetStateAction<number>], void>) => void | OnUnmount'.
test_matrix (4.4.4)
Process completed with exit code 1.