Skip to content

Commit

Permalink
code clear
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Nov 27, 2024
1 parent 2419d98 commit ef54c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Proposal/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -58,7 +58,7 @@ export const ProposalCard: FC<ProposalCardProps> = ({
<summary>{textJoin(t('related'), t('issue'))}</summary>
<ol>
{Array.isArray(issues) &&
(issues[0] as TableCellRelation).text_arr.map((text, index) => (
(issues[0] as TableCellRelation).text_arr.map(text => (
<li key={text} className="mt-2">
{text}
</li>
Expand Down

1 comment on commit ef54c1d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for kaiyuanshe ready!

✅ Preview
https://kaiyuanshe-e4p70xugb-techquerys-projects.vercel.app

Built with commit ef54c1d.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.