You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/15 13:41:42 UTC
[GitHub] [apisix-website] guoqqqi commented on a change in pull request #414: feat: Add home page lead window for 200 contributors blogs
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:
![image](https://user-images.githubusercontent.com/72343596/125797734-15d3fcd8-99e1-47dd-b84d-6eaea2cf4d6a.png)
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org