import { Metadata } from "next";
import { getServerI18n, I18nProvider } from "@/i18n";
import Add from "@mui/icons-material/Add";
import Button from "@mui/material/Button";
import Stack from "@mui/material/Stack";
import Typography from "@mui/material/Typography";
import Link from "next/link";
import { Suspense } from "react";
import InvoiceSearch from "@/components/InvoiceSearch";
export const metadata: Metadata = {
title: "Invoice",
};
const Invoice: React.FC = async () => {
const { t } = await getServerI18n("Invoice");
return (
<>
{t("Invoice")}
{/* }
LinkComponent={Link}
href="/invoice/new"
>
{t("Create Invoice")}
*/}
}>
>
)
};
export default Invoice;