guoqqqi commented on a change in pull request #414:
URL: https://github.com/apache/apisix-website/pull/414#discussion_r670473131
##########
File path: website/src/pages/index.js
##########
@@ -261,22 +261,23 @@ const NewsletterSection = () => {
const PicPoster = () => {
const [display, setDisplay] = useState(true);
const [theme, setTheme] = useState('light');
+ const windowGlobal = typeof window !== 'undefined' && window
Review comment:

Hi, what should we do with the localStorage that is not on the hook?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]