File tree 1 file changed +8
-2
lines changed
web/src/pages/Courts/CourtDetails/StakePanel
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ export enum ActionType {
30
30
withdraw = "withdraw" ,
31
31
}
32
32
33
+ const Container = styled . div `
34
+ display: flex;
35
+ gap: 8px;
36
+ flex-direction: column;
37
+ ` ;
38
+
33
39
const ErrorLabel = styled . label `
34
40
color: ${ ( { theme } ) => theme . error } ;
35
41
` ;
@@ -147,7 +153,7 @@ const StakeWithdrawButton: React.FC<IActionButton> = ({
147
153
const { text, checkDisabled, onClick } = buttonProps [ isAllowance ? ActionType . allowance : action ] ;
148
154
return (
149
155
< EnsureChain >
150
- < >
156
+ < Container >
151
157
< Button
152
158
text = { text }
153
159
isLoading = { isSending }
@@ -163,7 +169,7 @@ const StakeWithdrawButton: React.FC<IActionButton> = ({
163
169
onClick = { onClick }
164
170
/>
165
171
{ setStakeError && < ErrorLabel > { setStakeError . message } </ ErrorLabel > }
166
- </ >
172
+ </ Container >
167
173
</ EnsureChain >
168
174
) ;
169
175
} ;
You can’t perform that action at this time.
0 commit comments