Why doesn't the loading markup appear after adding code?

I am trying to follow the Shopify Apps guide on https://shopify.dev/apps/getting-started/build-app-example/frontend and am currently on the frontend section. Step 3 says to add the code, and then step 4 says to verify that the loading markup appears. When I add the code however, nothing appears.

I have the same problem did you figure it out?

If you are experiencing this you may be using the wrong jsx file. Make sure to use the one in your frontend/pages folder not just the frontend folder. So you are looking to edit the file

web/frontend/pages/index.jsx