Reorder unfurler routes to be alphabetic
This commit is contained in:
parent
93f547e446
commit
df51018599
@ -19,6 +19,13 @@ const routes = {
|
|||||||
title: "Mempool Accelerator",
|
title: "Mempool Accelerator",
|
||||||
fallbackImg: '/resources/previews/accelerator.jpg',
|
fallbackImg: '/resources/previews/accelerator.jpg',
|
||||||
},
|
},
|
||||||
|
address: {
|
||||||
|
render: true,
|
||||||
|
params: 1,
|
||||||
|
getTitle(path) {
|
||||||
|
return `Address: ${path[0]}`;
|
||||||
|
}
|
||||||
|
},
|
||||||
block: {
|
block: {
|
||||||
render: true,
|
render: true,
|
||||||
params: 1,
|
params: 1,
|
||||||
@ -40,26 +47,6 @@ const routes = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
address: {
|
|
||||||
render: true,
|
|
||||||
params: 1,
|
|
||||||
getTitle(path) {
|
|
||||||
return `Address: ${path[0]}`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
tx: {
|
|
||||||
render: true,
|
|
||||||
params: 1,
|
|
||||||
getTitle(path) {
|
|
||||||
return `Transaction: ${path[0]}`;
|
|
||||||
},
|
|
||||||
routes: {
|
|
||||||
push: {
|
|
||||||
title: "Push Transaction",
|
|
||||||
fallbackImg: '/resources/previews/tx-push.jpg',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
lightning: {
|
lightning: {
|
||||||
title: "Lightning",
|
title: "Lightning",
|
||||||
fallbackImg: '/resources/previews/lightning.jpg',
|
fallbackImg: '/resources/previews/lightning.jpg',
|
||||||
@ -127,6 +114,19 @@ const routes = {
|
|||||||
title: "Trademark Policy",
|
title: "Trademark Policy",
|
||||||
fallbackImg: '/resources/previews/trademark-policy.jpg',
|
fallbackImg: '/resources/previews/trademark-policy.jpg',
|
||||||
},
|
},
|
||||||
|
tx: {
|
||||||
|
render: true,
|
||||||
|
params: 1,
|
||||||
|
getTitle(path) {
|
||||||
|
return `Transaction: ${path[0]}`;
|
||||||
|
},
|
||||||
|
routes: {
|
||||||
|
push: {
|
||||||
|
title: "Push Transaction",
|
||||||
|
fallbackImg: '/resources/previews/tx-push.jpg',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const networks = {
|
const networks = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user