import React from "react"; import { Box, CircularProgress } from "@mui/material"; import { useAuth } from "../../hooks/useAuth"; import PageHeader from "../../components/shared/PageHeader"; import EvaluationQueues from "./components/EvaluationQueues/EvaluationQueues"; import ModelSubmissionForm from "./components/ModelSubmissionForm/ModelSubmissionForm"; import SubmissionGuide from "./components/SubmissionGuide/SubmissionGuide"; import { useTranslation, declareComponentKeys } from "i18n"; function AddModelPage() { const { isAuthenticated, loading, user } = useAuth(); const {t} = useTranslation({AddModelPage}); if (loading) { return ( ); } return ( {t("subtitle")} } /> ); } const { i18n } = declareComponentKeys< | "title" | "subtitle" >()({ AddModelPage }); export type I18n = typeof i18n; export default AddModelPage;