File tree Expand file tree Collapse file tree 16 files changed +46
-57
lines changed
settings/Account/Billing/alerts Expand file tree Collapse file tree 16 files changed +46
-57
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import {
21
21
ModalHeader ,
22
22
ModalOverlay ,
23
23
Select ,
24
- Stack ,
25
24
type UseDisclosureReturn ,
26
25
useDisclosure ,
27
26
} from "@chakra-ui/react" ;
@@ -273,7 +272,7 @@ const EditModal = ({
273
272
< ModalHeader > Update Backend Wallet</ ModalHeader >
274
273
< ModalCloseButton />
275
274
< ModalBody >
276
- < Stack spacing = { 4 } >
275
+ < div className = "flex flex-col gap-4" >
277
276
< FormControl >
278
277
< FormLabel > Wallet Address</ FormLabel >
279
278
< Text > { backendWallet . address } </ Text >
@@ -287,7 +286,7 @@ const EditModal = ({
287
286
placeholder = "Enter a description for this backend wallet"
288
287
/>
289
288
</ FormControl >
290
- </ Stack >
289
+ </ div >
291
290
</ ModalBody >
292
291
293
292
< ModalFooter as = { Flex } gap = { 3 } >
@@ -424,7 +423,7 @@ const SendFundsModal = ({
424
423
< ModalHeader > Send Funds</ ModalHeader >
425
424
< ModalCloseButton />
426
425
< ModalBody >
427
- < Stack spacing = { 4 } >
426
+ < div className = "flex flex-col gap-4" >
428
427
< FormControl >
429
428
< FormLabel > From</ FormLabel >
430
429
< Text fontFamily = "mono" > { fromWallet . address } </ Text >
@@ -495,7 +494,7 @@ const SendFundsModal = ({
495
494
< Text > { chain ?. name } </ Text >
496
495
</ Flex >
497
496
</ FormControl >
498
- </ Stack >
497
+ </ div >
499
498
</ ModalBody >
500
499
501
500
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
14
14
ModalFooter ,
15
15
ModalHeader ,
16
16
ModalOverlay ,
17
- Stack ,
18
17
useDisclosure ,
19
18
} from "@chakra-ui/react" ;
20
19
import { useTrack } from "hooks/analytics/useTrack" ;
@@ -84,7 +83,7 @@ export const CreateBackendWalletButton: React.FC<
84
83
< ModalHeader > Create { walletType } wallet</ ModalHeader >
85
84
< ModalCloseButton />
86
85
< ModalBody >
87
- < Stack spacing = { 4 } >
86
+ < div className = "flex flex-col gap-4" >
88
87
< FormControl >
89
88
< FormLabel > Wallet Type</ FormLabel >
90
89
< Text > { walletType } </ Text >
@@ -97,7 +96,7 @@ export const CreateBackendWalletButton: React.FC<
97
96
{ ...form . register ( "label" ) }
98
97
/>
99
98
</ FormControl >
100
- </ Stack >
99
+ </ div >
101
100
</ ModalBody >
102
101
103
102
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
10
10
ModalFooter ,
11
11
ModalHeader ,
12
12
ModalOverlay ,
13
- Stack ,
14
13
Step ,
15
14
StepIndicator ,
16
15
StepSeparator ,
@@ -219,7 +218,7 @@ const CancelTransactionButton = ({
219
218
< ModalContent className = "!bg-background rounded-lg border border-border" >
220
219
< ModalHeader > Cancel Transaction</ ModalHeader >
221
220
< ModalBody >
222
- < Stack gap = { 4 } >
221
+ < div className = "flex flex-col gap-4" >
223
222
< Text > Are you sure you want to cancel this transaction?</ Text >
224
223
< FormControl >
225
224
< FormLabel > Queue ID</ FormLabel >
@@ -255,7 +254,7 @@ const CancelTransactionButton = ({
255
254
If this transaction is already submitted, it may complete before
256
255
the cancellation is submitted.
257
256
</ Text >
258
- </ Stack >
257
+ </ div >
259
258
</ ModalBody >
260
259
261
260
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change 9
9
DrawerHeader ,
10
10
Flex ,
11
11
FormControl ,
12
- Stack ,
13
12
Tooltip ,
14
13
type UseDisclosureReturn ,
15
14
useDisclosure ,
@@ -373,7 +372,7 @@ const TransactionDetailsDrawer = ({
373
372
) ,
374
373
} }
375
374
>
376
- < Stack spacing = { 4 } >
375
+ < div className = "flex flex-col gap-4" >
377
376
< FormControl >
378
377
< FormLabel > Queue ID</ FormLabel >
379
378
< Text > { transaction . queueId } </ Text >
@@ -524,7 +523,7 @@ const TransactionDetailsDrawer = ({
524
523
</ FormControl >
525
524
526
525
< Collapse in = { advancedTxDetailsDisclosure . isOpen } >
527
- < Stack spacing = { 4 } >
526
+ < div className = "flex flex-col gap-4" >
528
527
{ transaction . nonce && (
529
528
< FormControl >
530
529
< div className = "flex flex-row" >
@@ -588,7 +587,7 @@ const TransactionDetailsDrawer = ({
588
587
</ LinkButton >
589
588
</ FormControl >
590
589
) }
591
- </ Stack >
590
+ </ div >
592
591
</ Collapse >
593
592
594
593
< Button
@@ -604,7 +603,7 @@ const TransactionDetailsDrawer = ({
604
603
</ Button >
605
604
</ >
606
605
) }
607
- </ Stack >
606
+ </ div >
608
607
</ Drawer >
609
608
) ;
610
609
} ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
15
15
ModalFooter ,
16
16
ModalHeader ,
17
17
ModalOverlay ,
18
- Stack ,
19
18
type UseDisclosureReturn ,
20
19
useDisclosure ,
21
20
} from "@chakra-ui/react" ;
@@ -190,7 +189,7 @@ const EditModal = ({
190
189
< ModalHeader > Update Access Token</ ModalHeader >
191
190
< ModalCloseButton />
192
191
< ModalBody >
193
- < Stack spacing = { 4 } >
192
+ < div className = "flex flex-col gap-4" >
194
193
< FormControl >
195
194
< FormLabel > Access Token</ FormLabel >
196
195
< Text > { accessToken . tokenMask } </ Text >
@@ -204,7 +203,7 @@ const EditModal = ({
204
203
placeholder = "Enter a description for this access token"
205
204
/>
206
205
</ FormControl >
207
- </ Stack >
206
+ </ div >
208
207
</ ModalBody >
209
208
210
209
< ModalFooter as = { Flex } gap = { 3 } >
@@ -273,7 +272,7 @@ const RemoveModal = ({
273
272
< ModalHeader > Delete Access Token</ ModalHeader >
274
273
< ModalCloseButton />
275
274
< ModalBody >
276
- < Stack spacing = { 4 } >
275
+ < div className = "flex flex-col gap-4" >
277
276
< Text > Are you sure you want to delete this access token?</ Text >
278
277
< FormControl >
279
278
< FormLabel > Access Token</ FormLabel >
@@ -283,7 +282,7 @@ const RemoveModal = ({
283
282
< FormLabel > Label</ FormLabel >
284
283
< Text > { accessToken . label ?? < em > N/A</ em > } </ Text >
285
284
</ FormControl >
286
- </ Stack >
285
+ </ div >
287
286
</ ModalBody >
288
287
289
288
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change 8
8
ModalFooter ,
9
9
ModalHeader ,
10
10
ModalOverlay ,
11
- Stack ,
12
11
useDisclosure ,
13
12
} from "@chakra-ui/react" ;
14
13
import { useTrack } from "hooks/analytics/useTrack" ;
@@ -83,7 +82,7 @@ export const AddAccessTokenButton: React.FC<AddAccessTokenButtonProps> = ({
83
82
< ModalContent className = "!bg-background rounded-lg border border-border" >
84
83
< ModalHeader > Access token</ ModalHeader >
85
84
< ModalBody as = { Flex } flexDir = "column" gap = { 4 } >
86
- < Stack spacing = { 4 } >
85
+ < div className = "flex flex-col gap-4" >
87
86
< CodeBlock code = { accessToken } />
88
87
< Text color = "red.500" >
89
88
This access token will not be shown again.
@@ -94,7 +93,7 @@ export const AddAccessTokenButton: React.FC<AddAccessTokenButtonProps> = ({
94
93
>
95
94
I have securely stored this access token.
96
95
</ Checkbox >
97
- </ Stack >
96
+ </ div >
98
97
</ ModalBody >
99
98
100
99
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
14
14
ModalFooter ,
15
15
ModalHeader ,
16
16
ModalOverlay ,
17
- Stack ,
18
17
useDisclosure ,
19
18
} from "@chakra-ui/react" ;
20
19
import { useTrack } from "hooks/analytics/useTrack" ;
@@ -93,7 +92,7 @@ export const AddAdminButton: React.FC<AddAdminButtonProps> = ({
93
92
< ModalHeader > Add Admin</ ModalHeader >
94
93
< ModalCloseButton />
95
94
< ModalBody >
96
- < Stack spacing = { 4 } >
95
+ < div className = "flex flex-col gap-4" >
97
96
< FormControl isRequired >
98
97
< FormLabel > Wallet Address</ FormLabel >
99
98
< Input
@@ -110,7 +109,7 @@ export const AddAdminButton: React.FC<AddAdminButtonProps> = ({
110
109
{ ...form . register ( "label" ) }
111
110
/>
112
111
</ FormControl >
113
- </ Stack >
112
+ </ div >
114
113
</ ModalBody >
115
114
116
115
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
16
16
ModalFooter ,
17
17
ModalHeader ,
18
18
ModalOverlay ,
19
- Stack ,
20
19
type UseDisclosureReturn ,
21
20
useDisclosure ,
22
21
} from "@chakra-ui/react" ;
@@ -178,7 +177,7 @@ const EditModal = ({
178
177
< ModalHeader > Update Admin</ ModalHeader >
179
178
< ModalCloseButton />
180
179
< ModalBody >
181
- < Stack spacing = { 4 } >
180
+ < div className = "flex flex-col gap-4" >
182
181
< FormControl >
183
182
< FormLabel > Wallet Address</ FormLabel >
184
183
< Text > { admin . walletAddress } </ Text >
@@ -192,7 +191,7 @@ const EditModal = ({
192
191
placeholder = "Enter a description for this admin"
193
192
/>
194
193
</ FormControl >
195
- </ Stack >
194
+ </ div >
196
195
</ ModalBody >
197
196
198
197
< ModalFooter as = { Flex } gap = { 3 } >
@@ -261,7 +260,7 @@ const RemoveModal = ({
261
260
< ModalHeader > Remove Admin</ ModalHeader >
262
261
< ModalCloseButton />
263
262
< ModalBody >
264
- < Stack spacing = { 4 } >
263
+ < div className = "flex flex-col gap-4" >
265
264
< Text > Are you sure you want to remove this admin?</ Text >
266
265
< FormControl >
267
266
< FormLabel > Wallet Address</ FormLabel >
@@ -271,7 +270,7 @@ const RemoveModal = ({
271
270
< FormLabel > Label</ FormLabel >
272
271
< Text > { admin . label ?? < em > N/A</ em > } </ Text >
273
272
</ FormControl >
274
- </ Stack >
273
+ </ div >
275
274
</ ModalBody >
276
275
277
276
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
ModalFooter ,
14
14
ModalHeader ,
15
15
ModalOverlay ,
16
- Stack ,
17
16
type UseDisclosureReturn ,
18
17
useDisclosure ,
19
18
} from "@chakra-ui/react" ;
@@ -162,7 +161,7 @@ const RemoveModal = ({
162
161
< ModalHeader > Remove Keypair</ ModalHeader >
163
162
< ModalCloseButton />
164
163
< ModalBody >
165
- < Stack spacing = { 4 } >
164
+ < div className = "flex flex-col gap-4" >
166
165
< Text > Are you sure you want to remove this keypair?</ Text >
167
166
< Text >
168
167
Access tokens signed by the private key for this keypair will no
@@ -187,7 +186,7 @@ const RemoveModal = ({
187
186
</ Text >
188
187
</ Flex >
189
188
</ FormControl >
190
- </ Stack >
189
+ </ div >
191
190
</ ModalBody >
192
191
193
192
< ModalFooter as = { Flex } gap = { 3 } >
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import {
17
17
ModalHeader ,
18
18
ModalOverlay ,
19
19
Select ,
20
- Stack ,
21
20
Textarea ,
22
21
type UseDisclosureReturn ,
23
22
useDisclosure ,
@@ -269,7 +268,7 @@ const EditModal = ({
269
268
< ModalHeader > Update Relayer</ ModalHeader >
270
269
< ModalCloseButton />
271
270
< ModalBody >
272
- < Stack spacing = { 4 } >
271
+ < div className = "flex flex-col gap-4" >
273
272
< FormControl >
274
273
< FormLabel > Chain</ FormLabel >
275
274
< NetworkDropdown
@@ -316,7 +315,7 @@ const EditModal = ({
316
315
/>
317
316
< FormHelperText > Allow all forwarders if omitted.</ FormHelperText >
318
317
</ FormControl >
319
- </ Stack >
318
+ </ div >
320
319
</ ModalBody >
321
320
322
321
< ModalFooter as = { Flex } gap = { 3 } >
@@ -384,7 +383,7 @@ const RemoveModal = ({
384
383
< ModalHeader > Remove Relayer</ ModalHeader >
385
384
< ModalCloseButton />
386
385
< ModalBody >
387
- < Stack spacing = { 4 } >
386
+ < div className = "flex flex-col gap-4" >
388
387
< Text > Are you sure you want to remove this relayer?</ Text >
389
388
< FormControl >
390
389
< FormLabel > Chain</ FormLabel >
@@ -408,7 +407,7 @@ const RemoveModal = ({
408
407
< FormLabel > Label</ FormLabel >
409
408
< Text > { relayer . name ?? < em > N/A</ em > } </ Text >
410
409
</ FormControl >
411
- </ Stack >
410
+ </ div >
412
411
</ ModalBody >
413
412
< ModalFooter as = { Flex } gap = { 3 } >
414
413
< Button type = "button" onClick = { disclosure . onClose } variant = "ghost" >
You can’t perform that action at this time.
0 commit comments