TypeError: Cannot read properties of null (reading 'useState')
Closed this issue · 1 comments
PreciousNiphemi commented
I installed react burger menu using pnpm in a typescript mono repo project. i keep getting a "TypeError: Cannot read properties of null (reading 'useState')"
This is a sample of the code
import React from "react"
import { stack as HamBurgerMenu } from "react-burger-menu"
const SideMenu = ()=>{
return (
<div>
<HamBurgerMenu right >
<SideBar />
</HamBurgerMenu>
</div>
)
}
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.