Hi, Thank you for you response, I'm sorry for the inconvenience. I'm not very familiar with Codepen and I think it doesn't have NextJS environment. Anyways, I've fixed the CSB Issues, please re-check the link below and let me know how I can solve this issue. Thanks.
https://codesandbox.io/s/pedantic-haze-j41gfp?file=/pages/index.js