File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
app/src/components/pool/account Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,25 @@ const AccountSummary: React.FC = () => {
122122 </ SummaryItem >
123123 </ >
124124 ) : (
125- < Button
126- primary
127- ghost
128- disabled = { account . stateLabel !== 'Open' }
129- onClick = { accountSectionView . showFundAccount }
130- >
131- { l ( 'fundAccount' ) }
132- </ Button >
125+ < SummaryItem >
126+ < Button
127+ danger
128+ ghost
129+ compact
130+ disabled = { account . stateLabel !== 'Open' }
131+ onClick = { accountSectionView . showCloseAccount }
132+ >
133+ { l ( 'close' ) }
134+ </ Button >
135+ < Button
136+ primary
137+ ghost
138+ disabled = { account . stateLabel !== 'Open' }
139+ onClick = { accountSectionView . showFundAccount }
140+ >
141+ { l ( 'fundAccount' ) }
142+ </ Button >
143+ </ SummaryItem >
133144 ) }
134145 </ Actions >
135146 </ >
You can’t perform that action at this time.
0 commit comments