File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
web/src/pages/Courts/CourtDetails/StakePanel Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ export enum ActionType {
3030 withdraw = "withdraw" ,
3131}
3232
33+ const Container = styled . div `
34+ display: flex;
35+ gap: 8px;
36+ flex-direction: column;
37+ ` ;
38+
3339const ErrorLabel = styled . label `
3440 color: ${ ( { theme } ) => theme . error } ;
3541` ;
@@ -147,7 +153,7 @@ const StakeWithdrawButton: React.FC<IActionButton> = ({
147153 const { text, checkDisabled, onClick } = buttonProps [ isAllowance ? ActionType . allowance : action ] ;
148154 return (
149155 < EnsureChain >
150- < >
156+ < Container >
151157 < Button
152158 text = { text }
153159 isLoading = { isSending }
@@ -163,7 +169,7 @@ const StakeWithdrawButton: React.FC<IActionButton> = ({
163169 onClick = { onClick }
164170 />
165171 { setStakeError && < ErrorLabel > { setStakeError . message } </ ErrorLabel > }
166- </ >
172+ </ Container >
167173 </ EnsureChain >
168174 ) ;
169175} ;
You can’t perform that action at this time.
0 commit comments