import { useNavigate, useParams } from "react-router-dom"; import { Image } from "@/components"; import { getBackgroundImage, getStaticImage } from "@/lib/utils"; const starName = "luxun"; const LuxunInternalization = () => { const navigate = useNavigate(); const { moduleName } = useParams<{ moduleName: string; }>(); return (
{ if (moduleName && starName) { navigate(`/${moduleName}/${starName}/home`); } }} />
鲁迅故居-内化模块(待完善)
); }; export default LuxunInternalization;