import { useState } from "react"; import { useLayoutStore } from "@/store/module"; import HeaderDrawer from "./HeaderDrawer"; import Icon from "./Icon"; interface Props { showSearch?: boolean; } const MobileHeader = (props: Props) => { const { showSearch = true } = props; const layoutStore = useLayoutStore(); const [titleText] = useState("MEMOS"); return (
{/*
layoutStore.setHeaderStatus(true)} >
*/} location.reload()} > {titleText}
layoutStore.setHomeSidebarStatus(true)} />
); }; export default MobileHeader;