Aug 03 2021
I have developed a web-part which works fine on root site collections but produces the following error when added to a page in a subsite.
Error details: Error: Error initializing application. Error: TypeError: Cannot read property 'Content' of undefined
Oddly, the web-part displays fine when the page is in edit mode, but falls back to the error screen when published.
It was built in SPFx using the Office Ui Fabric and MS Graph.
Any help is appreciated.