Browser: Chrome 120
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)
I had a product that had 2 inventories. After adding the product to the cart twice, the ajax notification was displayed properly. But after I clicked the add to cart button for the third time, the error message (You cannot add that amount to the cart — we have 2 in stock and you already have 2 in your cart) was displayed, but the page was reloaded and not displayed as Ajax.