import { useNavigate, type AppShellPageProps } from "@tailor-platform/app-shell";
import { useEffect } from "react";

const ProductPage = () => {
  const navigate = useNavigate();
  useEffect(() => {
    void navigate("/product/product", { replace: true });
  }, [navigate]);
  return null;
};

ProductPage.appShellPageProps = {
  meta: { title: "Products" },
} satisfies AppShellPageProps;
export default ProductPage;
