Reactjs – useDisclosure() not a function chakra UI
Unhandled Runtime Error Error: (0 , chakra_ui_react__WEBPACK_IMPORTED_MODULE_2_.useDisclosure) is not a function im importing useDisclosure correctly from chakraUI but it says useDisclosure() not a function here is my code code for a sidebar/drawer component using ChakraUI