React front-end application on Azure stops working after browser refresh
I have a front-end application developed in React, deployed on Azure Static Web App. In one of the environments, the application renders a specific screen correctly when accessed. However, if I refresh the browser (F5), the screen no longer renders (this issue occurs on some screens, but not others), and an error message appears in the browser console: