mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-10 16:56:31 +00:00
sort version keys
This commit is contained in:
parent
f0feb6bb73
commit
c389bbff28
@ -28,7 +28,9 @@ export default function About() {
|
|||||||
versionInfoDict: ObjectWithStringKeysAndValues | null
|
versionInfoDict: ObjectWithStringKeysAndValues | null
|
||||||
) => {
|
) => {
|
||||||
if (versionInfoDict !== null && Object.keys(versionInfoDict).length) {
|
if (versionInfoDict !== null && Object.keys(versionInfoDict).length) {
|
||||||
const tableRows = Object.keys(versionInfoDict).map((key) => {
|
const tableRows = Object.keys(versionInfoDict)
|
||||||
|
.sort()
|
||||||
|
.map((key) => {
|
||||||
const value = versionInfoDict[key];
|
const value = versionInfoDict[key];
|
||||||
return (
|
return (
|
||||||
<tr key={key}>
|
<tr key={key}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user