From ef54c1d1328ba0f4af3d705422e162ca3deaebe7 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Wed, 27 Nov 2024 21:51:11 +0800 Subject: [PATCH] code clear --- components/Proposal/Card.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Proposal/Card.tsx b/components/Proposal/Card.tsx index 2f25e0a71..335bf6475 100644 --- a/components/Proposal/Card.tsx +++ b/components/Proposal/Card.tsx @@ -2,7 +2,7 @@ import { TimeDistance } from 'idea-react'; import { textJoin } from 'mobx-i18n'; import { TableCellRelation } from 'mobx-lark'; import type { FC } from 'react'; -import { Card, Row } from 'react-bootstrap'; +import { Card } from 'react-bootstrap'; import { t } from '../../models/Base/Translation'; import type { Proposal } from '../../models/Governance/Proposal'; @@ -58,7 +58,7 @@ export const ProposalCard: FC = ({ {textJoin(t('related'), t('issue'))}
    {Array.isArray(issues) && - (issues[0] as TableCellRelation).text_arr.map((text, index) => ( + (issues[0] as TableCellRelation).text_arr.map(text => (
  1. {text}