Jet Starter Error - Page Not Found

I created a new route from the action-starter-kit project, and it selects some data asynchronously and then displays them, but after a second the page reloads with the message "Page not found", sorry, but the page you are trying to view does not exist. "

In the console, I see - “Warning: text content did not match” Server: “Remains” Client: “Page not found”

async function action() {

let bittrex = new ccxt.bittrex ({
    'apiKey': '',
    'secret': ''
})

try {

    // fetch account balance from the exchange
    let bittrexBalance = await bittrex.fetchBalance ()
    /**** commenting above and uncommenting this block stops it from happening.... 
    let bittrexBalance = {};
    bittrexBalance.info= [];
    let currency = {};
    currency.Currency = "BTC";
    currency.Value=999;
    // output the result
    bittrexBalance.info.push(currency);*/
    console.log ('balance', bittrexBalance)

    let balances = [];
    balances.push(bittrexBalance)
    return {
        title: "Balances",
        component: (
            <Layout>
                <Balances balances={balances} />
            </Layout>
        ),
    };


} catch (e) {
    console.log('SOME sort of error', e);
}

Does anyone know what this could be?

Edit to add, now I understand that if I turn off Javascript everything will work just fine ...

It seems to work through the universal router twice. For the first timeThe second time it passes through the router, it seems that the parameters have an object {0:

, ... , , ...

: :

catch (e) ... , ccxt -, , , - ...

+6
2

, await bittrex.loadProducts(), .

Edit: , bittrex.loadProducts() bittrex.loadMarkets() github

+4

, , action undefined, -   , , , .

+4

All Articles