feat: init
This commit is contained in:
@@ -11,12 +11,7 @@ interface MainLayoutProps {
|
||||
onLink?: () => void;
|
||||
}
|
||||
|
||||
const MainLayout: React.FC<MainLayoutProps> = ({
|
||||
isShowNavBar,
|
||||
children,
|
||||
onLink,
|
||||
title,
|
||||
}) => {
|
||||
const MainLayout: React.FC<MainLayoutProps> = ({ isShowNavBar, children, onLink, title }) => {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
const { pathname } = location;
|
||||
|
||||
Reference in New Issue
Block a user