Open LeKZzzz opened 3 months ago
I think I have found the problem. I did not set NODE_ENV to 'production' to cause the function to return. However, after I use export NODE_ENV=production, gatsby develop will have an error, so my current solution is to directly comment out the environment judgment.I'll appreciate it if there is a better way.
The star and fork in Footer cannot be displayed like the demo(https://v4.brittanychiang.com/) in my deployment.
This is the demo:
And this is my deployment:
Maybe the useEffect function in src/components/footer.js is not working properly.
But I'm not a professional front-end developer, it's just my guess, haha:)
My environment is as follows: