Some folks asked to see the code & hazarded guesses on this mystery.
While I can't share the exact code (coz work), here's the gist. I tested again & it failed 🤷🏻♀️
🖥️ NextJS10 / React-Redux
🚫 White screen on UI, console.log error: undefined
👍 Remove console.log > works perfect
ALT Some NextJS React-Redux code that doesn't work due to having a console.log(function) in the render()