Skip to content

error messages disappear quickly when updating quantities on product detail page

error messages disappear quickly when updating quantities on the product detail page

I am using Magento 2.4.5
I have changed the code in the below files but there is no effect

/Magento_Ui/web/js/view/messages.js
module-ui/view/frontend/web/template/messages.html

Magento_Customer/js/customer-data.js

could anyone please tell me how I can increase the time of error messages?