25cb047483
* Use wp store directly instead of React Context We are using now actions directly from wp store in 'useStoreCartCoupons' hook to apply and remove coupon. * Remove unused "useStoreSnackbarNotices" related files * Add NoticeContext TS definition * Remove the Provider references and refactor code * Fix snackbar notice creation bug * Fix "clear out snackbar coupon notice" bug * Update "notices" API documentation Remove snackbar hooks mentions since it's not used anymore |
||
---|---|---|
.. | ||
event-emit | ||
hooks | ||
providers | ||
test | ||
index.ts | ||
tsconfig.json | ||
utils.js |