You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I quite a bit weird when I open the post page from the link of others page, thumbnail address has null value but when I open the post page via a direct link or just refresh the page, the thumbnail is shown. This problem happens only in build only, the develop one works smoothly.
When I want to use the thumbnail, I have to check the existent of thumbnail since there's a post that has no thumbnail. I use get() from lodash. The way I import is
importgetfrom'lodash/get'
I think importing in this way might cause the problem, since I change to import get like this
I quite a bit weird when I open the post page from the link of others page, thumbnail address has null value but when I open the post page via a direct link or just refresh the page, the thumbnail is shown. This problem happens only in
build
only, the develop one works smoothly.Environment
Gatsby version: 1.9.199
Node.js version: 6.11.4
Operating System: macOS 10.13.3
Step to reproduce
gatsby build
gatsby serve
You may checkout this repository in develop branch to see the problem and the result is in this site
The text was updated successfully, but these errors were encountered: