negomi/react-burger-menu

No matter what type of children i list i get this err: "TypeError: Cannot read properties of undefined"

Closed this issue · 1 comments

Hey mate,

I'm a fairly new developer and haven't explored hooks yet so that maybe an issue, however i'm using "react-burger-menu": "^2.9.2", and my code is as follow

            <Menu
              outerContainerId='menu-outer'
              pageWrapId='menu-wrapper'
              className='menu'
              width={'320px'}
              right >
              <Link to='/' id='home' className='menu-item'>Home</Link>
              <Link to='/dashboard' id='dashboard' className='menu-item'>Dashboard</Link>;
              <Link to='/profile' id='profile' className='menu-item'>Profile</Link>;
            </Menu >

i keep receiving the error in the screen shot below

image

how did you fix it?