[website] Fix GA events going to development#899
Conversation
|
Your Render PR Server URL is https://toolpad-pr-899.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-ccb6q8fho1kli2o7spn0. |
…pad into check-ga-bug
|
Value of process.env.PULL_REQUEST,
typeof process.env.PULL_REQUEST,
JSON.stringify(process.env.PULL_REQUEST),in the deploy preview build: |
|
Ok, I understand now. During SSR it always uses the environment variables available on the server. netlify passes Solution, either:
|
Let's go ahead and take the first route for now so that we can defer to the existing way of doing things in the immediate term |
|
mui/material-ui#34259 should prevent this bug from happening again, making Toolpad less coupled with the docs infra. |

See https://github.com/mui/material-ui/blob/master/docs/pages/_document.js#L34 and
