File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const EntropyDeploymentTable = ({
8
8
deployments : Record < string , EntropyDeployment > ;
9
9
showReveal : boolean ;
10
10
} ) => {
11
+ const sortedDeployments = Object . entries ( deployments ) . sort ( ) ;
11
12
return (
12
13
< table >
13
14
< thead >
@@ -19,7 +20,7 @@ const EntropyDeploymentTable = ({
19
20
</ tr >
20
21
</ thead >
21
22
< tbody >
22
- { Object . entries ( deployments ) . map ( ( [ name , deployment ] ) => (
23
+ { sortedDeployments . map ( ( [ name , deployment ] ) => (
23
24
< tr key = { name } >
24
25
< StyledTd > { name } </ StyledTd >
25
26
< StyledTd >
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const FeeTable = ({
27
27
}
28
28
} , [ deployments ] ) ;
29
29
30
+ const sortedDeployments = Object . entries ( deployments ) . sort ( ) ;
30
31
return (
31
32
< table >
32
33
< thead >
@@ -36,7 +37,7 @@ const FeeTable = ({
36
37
</ tr >
37
38
</ thead >
38
39
< tbody >
39
- { Object . entries ( deployments ) . map ( ( [ name , deployment ] ) => (
40
+ { sortedDeployments . map ( ( [ name , deployment ] ) => (
40
41
< tr key = { name } >
41
42
< StyledTd >
42
43
< a
You can’t perform that action at this time.
0 commit comments