MCPcopy Index your code
hub / github.com/OpenSignLabs/OpenSign / toggleDropdown

Function toggleDropdown

apps/OpenSign/src/components/Header.jsx:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 const [isDarkTheme, setIsDarkTheme] = useState();
29
30 const toggleDropdown = () => {
31 setIsOpen(!isOpen);
32 closeSidebar();
33 };
34 const closeSidebar = () => {
35 if (width && width <= 768) {
36 dispatch(toggleSidebar(false));

Callers

nothing calls this directly

Calls 1

closeSidebarFunction · 0.70

Tested by

no test coverage detected