Mini-Cart: Make error notifications non-dismissable. Closes woocommerce/woocommerce-blocks#8965. (https://github.com/woocommerce/woocommerce-blocks/pull/9578)
This commit is contained in:
parent
cb3a2cc056
commit
3e33914e87
|
@ -25,7 +25,7 @@ export const notifyCartErrors = (
|
|||
createNotice( 'error', decodeEntities( error.message ), {
|
||||
id: error.code,
|
||||
context: 'wc/cart',
|
||||
isDismissible: true,
|
||||
isDismissible: false,
|
||||
} );
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue