diff --git a/index.html b/index.html index c2a9df3..e80a181 100644 --- a/index.html +++ b/index.html @@ -335,9 +335,9 @@ const renderedBlocks = latestBlocks.map(block => render.blockCard(block)) renderElem(document.getElementById('top_blocks_container'), html`${renderedBlocks}`) } - router.addRoute('', (state) => { + router.addRoute('', async (state) => { history.replaceState({}, '', '#/home') - renderHome(state) + await renderHome(state) }) router.addRoute('home', renderHome) router.addRoute('address', async state => { @@ -697,7 +697,6 @@ }, addressPage(obj) { const { floBalance, floAddress, ownedTokens = {} } = obj; - console.log(obj) return html`