my app works fine when it’s like this:
function SidebarOption({ text, Icon }) {
return (
<div >
<h2>{text}</h2>
</div>
)
}
but when i add th <Icon/>
like below the page goes blank
function SidebarOption({ text, Icon }) {
return (
<div >
<h2>{text}</h2>
<Icon /> {*when I add this the app page goes blank*}
</div>
)
}
I have tried setting the “Homepage”:”.” but that didn’t work.