合并冲突

This commit is contained in:
myf 2022-05-09 17:42:51 +08:00
parent a6d55098d6
commit 7326594b79
2 changed files with 18 additions and 16 deletions

View File

@ -1127,9 +1127,6 @@
"capital pool": "资金池", "capital pool": "资金池",
"Unclaimed income": "待领取收益", "Unclaimed income": "待领取收益",
"pledge": "质押", "pledge": "质押",
<<<<<<< HEAD "Invite": "邀请",
"top": "置顶" "top": "置顶"
=======
"Invite": "邀请"
>>>>>>> dev
} }

View File

@ -85,6 +85,9 @@ const CardDiv = styled.div`
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
` `
const ContentDiv = styled.div`
padding: 0 20px;
`
interface NodeCardProps { interface NodeCardProps {
board: any board: any
@ -123,6 +126,7 @@ const BoardCard: React.FC<NodeCardProps> = ({ board, account }) => {
return ( return (
<FCard> <FCard>
<CardHeading name={t(board.name)} img={board.img} tokenSymbol={board.tokenSymbol} /> <CardHeading name={t(board.name)} img={board.img} tokenSymbol={board.tokenSymbol} />
<ContentDiv>
{account && ( {account && (
<div> <div>
<FlexText name={t('HCC Currency amount')} value={board.userData?.amount} /> <FlexText name={t('HCC Currency amount')} value={board.userData?.amount} />
@ -135,6 +139,7 @@ const BoardCard: React.FC<NodeCardProps> = ({ board, account }) => {
</div> </div>
)} )}
<CardActionsContainer board={board} account={account} /> <CardActionsContainer board={board} account={account} />
</ContentDiv>
{/* <Divider /> {/* <Divider />
<ExpandableSectionButton <ExpandableSectionButton
onClick={() => setShowExpandableSection(!showExpandableSection)} onClick={() => setShowExpandableSection(!showExpandableSection)}