Fix crash when refresh class page

This commit is contained in:
Leonardo Murça 2022-06-29 15:58:55 -03:00
parent b8f227374a
commit a70b7fe29c

View file

@ -96,7 +96,10 @@ const menuOptions = activePath => [
unselectedIcon: <HomeOutlined />,
pathname: '/home',
isActive:
activePath === '/home' || activePath === '/login' || activePath === '/',
activePath === '/home' ||
activePath === '/login' ||
activePath === '/' ||
activePath.indexOf('class') !== -1,
},
{
id: 1,