From cfa0c2091038ccf8bc3560a0d3f4a5b16abaac01 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Sun, 3 May 2020 12:07:51 +0800 Subject: [PATCH] Support plural paths for tx details --- explorer/src/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/explorer/src/App.tsx b/explorer/src/App.tsx index a39f3957c2..0defb2f191 100644 --- a/explorer/src/App.tsx +++ b/explorer/src/App.tsx @@ -32,7 +32,9 @@ function App() { `/${tx}/:signature`)} + path={TX_ALIASES.flatMap(tx => [tx, tx + "s"]).map( + tx => `/${tx}/:signature` + )} render={({ match }) => ( )}