How to prevent an error message from being hidden after 5 seconds on the frontend checkout screen?

Remove the following code block:

Then re-deploy the static content.

See also:

It is implemented in mage2pro/core 7.1.3: github.com/mage2pro/core/issues/98#issuecomment-739726992