// 'use client';
import { preloadClaims } from "@/app/api/claims";
import { preloadStaff, preloadTeamLeads } from "@/app/api/staff";
import StaffSearch from "@/components/StaffSearch";
import { getServerI18n } 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 { Metadata } from "next";
import Link from "next/link";
import { Suspense } from "react";
export const metadata: Metadata = {
title: "Staff",
};
const Staff: React.FC = async () => {
const { t } = await getServerI18n("projects");
preloadTeamLeads()
preloadStaff()
return (
<>
{t("Staff")}
}
LinkComponent={Link}
href="/staff/create"
>
{t("Create Staff")}
}>
>
);
};
export default Staff;