0👍
const homeItem = ref<SideNavItemData>(new SideNavItemData({
itemName: SideNavItemName.Home,
}));
Moving the item to a ref solved the problem. Still don’t know why thought.
Source:stackexchange.com
0👍
const homeItem = ref<SideNavItemData>(new SideNavItemData({
itemName: SideNavItemName.Home,
}));
Moving the item to a ref solved the problem. Still don’t know why thought.