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`
@@ -707,7 +706,7 @@
Tokens
    - ${Object.keys(ownedTokens) + ${Object.keys(ownedTokens || {}) .filter(token => ownedTokens[token].balance > 0) .map(token => render.tokenBalanceCard(token, ownedTokens[token].balance))}
@@ -1405,7 +1404,7 @@ status, expiryTime, payeeAddress, - userChoice, + userChoices, tokenIdentification, acceptingToken, sellingToken, @@ -1426,7 +1425,7 @@ status, expiration: expiryTime, payeeAddress, - userChoices: userChoice, + userChoices, token: tokenIdentification, acceptingToken, sellingToken, diff --git a/v1.html b/v1.html deleted file mode 100644 index 9142877..0000000 --- a/v1.html +++ /dev/null @@ -1,1620 +0,0 @@ - - - - - - - FLO Scout - - - - - - - - - - -
- -

Loading

-
-
- -
- - - - - - -
    -
    - -
    - -
    - - - - - - - - - - - - - \ No newline at end of file diff --git a/v2.html b/v2.html deleted file mode 100644 index 8f56cef..0000000 --- a/v2.html +++ /dev/null @@ -1,1867 +0,0 @@ - - - - - - - FLO Scout - - - - - - - - - - -
    - -

    Loading

    -
    -
    - -
    - - - - - - -
      -
      - -
      - -
      - - - - - - - - - - - - - \ No newline at end of file