import { useGetIdentity } from "@refinedev/core"; import { Row, Col, Card, Avatar, Typography, Space } from "antd"; import { useTranslation } from "react-i18next"; const { Text, Title } = Typography; export const DashboardPage: React.FC = () => { const { t } = useTranslation(); const { data: identity } = useGetIdentity<{ id: string; name: string; avatar: string; }>(); return (
{t("sider.dashboard")} {identity?.name?.charAt(0)}
{identity?.name}
{t("dashboard.welcomeMessage")}
  • {t("dashboard.tip1")}
  • {t("dashboard.tip2")}
  • {t("dashboard.tip3")}
Refine Documentation @cundi/refine-xaf SDK Ant Design Components
); };