Skip to content

Commit

Permalink
fix: add key
Browse files Browse the repository at this point in the history
  • Loading branch information
songwongtp committed Jan 26, 2024
1 parent 799f86c commit 5cb43e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/table/proposals/ProposalTextCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ export const ProposalTextCell = ({
className={showName ? undefined : "ellipsis"}
>
{types.map((msgType, index) => (
<>
<span key={msgType + index.toString()}>
{index > 0 && (
<span style={{ color: "var(--chakra-colors-accent-main)" }}>
{" / "}
</span>
)}
{msgType}
</>
</span>
))}
</Text>
</Flex>
Expand Down

0 comments on commit 5cb43e7

Please sign in to comment.