import { useNavigate, type AppShellPageProps } from "@tailor-platform/app-shell"; import { useEffect } from "react"; import { labels } from "@/i18n/labels"; const MasterDataPage = () => { const navigate = useNavigate(); useEffect(() => { void navigate("/master-data/company", { replace: true }); }, [navigate]); return null; }; MasterDataPage.appShellPageProps = { meta: { title: labels.t("nav.group.masterData") }, } satisfies AppShellPageProps; export default MasterDataPage;