Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

error from useCkoCart not exported in useCko #25

Closed
CheStas opened this issue Jul 27, 2022 · 1 comment
Closed

error from useCkoCart not exported in useCko #25

CheStas opened this issue Jul 27, 2022 · 1 comment

Comments

@CheStas
Copy link
Contributor

CheStas commented Jul 27, 2022

an error that is set in useCkoCart.ts

error.value = e;

is not exported in useCko.ts
error: cardError,

it means that it's not possible to check and read an error if any happens in this method.

the error should be assigner to useCko-error

const error = sharedRef(null, 'useCko-error');

@Fifciu
Copy link
Contributor

Fifciu commented Jul 27, 2022

Please also update an unit test in new PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants