urfreespace commented on a change in pull request #6: URL: https://github.com/apache/pulsar-site/pull/6#discussion_r814412578
########## File path: site2/website-next/src/pages/index.js ########## @@ -129,7 +130,13 @@ export default function Home() { ]; useEffect((d) => { startWaves(); - + var winW = window.outerWidth; Review comment: we can't use `window` directly because the buiding is based on `SSR`, you can have a test by `npm run build`, maybe this `https://docusaurus.io/docs/docusaurus-core#useIsBrowser` can help @Paul-TT -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org