@@ -31,7 +31,7 @@ export default function main({ DOM, HTTP, route, storage, scanner: scan$, search
3131 /// User actions
3232 , page$ = route ( )
3333 , goHome$ = route ( '/' )
34- , goLanding $= route ( '/explorer-api' )
34+ , goAPILanding $= route ( '/explorer-api' )
3535 , goBlocks$ = route ( '/blocks/recent' ) . map ( loc => ( { start_height : loc . query . start != null ? + loc . query . start : null } ) )
3636 , goBlock$ = route ( '/block/:hash' ) . map ( loc => ( { hash : loc . params . hash , start_index : + loc . query . start || 0 } ) )
3737 , goHeight$ = route ( '/block-height/:height' ) . map ( loc => loc . params . height )
@@ -227,7 +227,7 @@ export default function main({ DOM, HTTP, route, storage, scanner: scan$, search
227227 // Currently visible view
228228 , view$ = O . merge ( page$ . mapTo ( null )
229229 , goHome$ . mapTo ( 'dashBoard' )
230- , goLanding $. mapTo ( 'landing ' )
230+ , goAPILanding $. mapTo ( 'apiLanding ' )
231231 , goBlocks$ . mapTo ( 'recentBlocks' )
232232 , goRecent$ . mapTo ( 'recentTxs' )
233233 , block$ . filter ( notNully ) . mapTo ( 'block' )
@@ -244,7 +244,7 @@ export default function main({ DOM, HTTP, route, storage, scanner: scan$, search
244244
245245 // Page title
246246 , title$ = O . merge ( page$ . mapTo ( null )
247- , goLanding $. withLatestFrom ( t$ , ( _ , t ) => t `Explorer API` )
247+ , goAPILanding $. withLatestFrom ( t$ , ( _ , t ) => t `Explorer API` )
248248 , block$ . filter ( notNully ) . withLatestFrom ( t$ , ( block , t ) => t `Block #${ block . height } : ${ block . id } ` )
249249 , tx$ . filter ( notNully ) . withLatestFrom ( t$ , ( tx , t ) => t `Transaction: ${ tx . txid } ` )
250250 , addr$ . filter ( notNully ) . withLatestFrom ( goAddr$ , t$ , ( _ , goAddr , t ) => t `Address: ${ goAddr . display_addr } ` )
0 commit comments