Follow the steps to replicate the bug Uncomment lines 8, 18 and 43 in pages/index.tsx and run yarn dev to see how the output should be and then run yarn build and yarn start to see the issue Test CommitTest on main New change