Ran into a weird issue this week that I’d like to report.
I had a code component and a page that were both called the same thing. So e.g. the code component and page were both called ProfilePicture
.
This component worked correctly in studio, but when displaying the page on our website proper, the code component ProfilePicture
would not be able to access any of the props configured for it, and would therefore show up blank.
The component worked correctly when added to another page (e.g. ProfilePage
) and started working when I renamed the original page to a different name (e.g. ProfilePictureNew
).