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 really like your starter repo! I ran into a problem that seemed related to using react dangerouslySetInnerHTML. It's especially noticeable when I changed the discord link to a LinkedIn link with a larger icon. It's only noticeable when using gatsby build (don't see this on localhost).
You'll see the icons used in the social section when loading the page. https://kind-clarke-92e677.netlify.app/
I replaced the dangerouslySetInnerHTML with static HTML and values from config and I'm still seeing the loading issue. Since it only happens on deployed code, I think it's due to due to SSR.
The text was updated successfully, but these errors were encountered:
I solved this by adding the image to the local assets folder and importing the image into the header.js. I'm checking in with Gatsby to see if there are any plugins or language possibilities that would allow me to supply a variable string to an image on a CDN.
I really like your starter repo! I ran into a problem that seemed related to using react
dangerouslySetInnerHTML
. It's especially noticeable when I changed the discord link to a LinkedIn link with a larger icon. It's only noticeable when using gatsby build (don't see this on localhost).You'll see the icons used in the social section when loading the page.
https://kind-clarke-92e677.netlify.app/
It's in this code in header.js
I replaced the dangerouslySetInnerHTML with static HTML and values from config and I'm still seeing the loading issue. Since it only happens on deployed code, I think it's due to due to SSR.
The text was updated successfully, but these errors were encountered: