import { Box, Button } from "@mui/material"; import { Link } from "react-router-dom"; import { formatTimeStamp } from "../../lib/utils"; import { theme } from "../../theme"; import { Typography } from "../Atoms/Typography"; import { useTranslation } from "../../contexts/I18nContext"; const ProposalCard = ({ proposal }: { proposal: any }) => { const { t } = useTranslation(); const { palette: { customDivider }, } = theme; return ( {t("proposalDiscussion.proposedOn")} {formatTimeStamp(proposal?.attributes?.createdAt, "short")} ); }; export default ProposalCard;