'use client'; // @mui import Container from '@mui/material/Container'; // routes import { paths } from 'src/routes/paths'; // components import { useSettingsContext } from 'src/components/settings'; import CustomBreadcrumbs from 'src/components/custom-breadcrumbs'; // import { useGetInvoice } from 'src/api/invoice'; import InvoiceDetails from '../invoice-details'; // ---------------------------------------------------------------------- type Props = { id: string; }; export default function InvoiceDetailsView({ id }: Props) { const settings = useSettingsContext(); const { currentInvoice } = useGetInvoice({ id }); return ( {currentInvoice && } ); }