allow sidemenu sections without children still have a hover menu/header

This commit is contained in:
Torkel Ödegaard 2018-12-07 11:14:32 -08:00
parent 80d62013b2
commit 30c2cc4b5c
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ const TopSectionItem: SFC<Props> = props => {
{link.img && <img src={link.img} />} {link.img && <img src={link.img} />}
</span> </span>
</a> </a>
{link.children && <SideMenuDropDown link={link} />} <SideMenuDropDown link={link} />
</div> </div>
); );
}; };

View File

@ -13,5 +13,8 @@ exports[`Render should render component 1`] = `
<i /> <i />
</span> </span>
</a> </a>
<SideMenuDropDown
link={Object {}}
/>
</div> </div>
`; `;