From 4c63371318539cec829faed0062cc296c86278d2 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Wed, 20 May 2020 13:36:04 +0200 Subject: [PATCH] Hide payouts on no accounts (#2779) * Hide payouts on no accounts * Redirect timeout --- packages/page-staking/src/index.tsx | 2 +- scripts/ipfsUpload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/page-staking/src/index.tsx b/packages/page-staking/src/index.tsx index 6d578c3f68..5117e609d5 100644 --- a/packages/page-staking/src/index.tsx +++ b/packages/page-staking/src/index.tsx @@ -87,7 +87,7 @@ function StakingApp ({ basePath, className }: Props): React.ReactElement const hiddenTabs = useMemo( (): string[] => !hasAccounts - ? ['actions', 'query'] + ? ['actions', 'payouts', 'query'] : !hasQueries ? ['returns', 'query'] : [], diff --git a/scripts/ipfsUpload.js b/scripts/ipfsUpload.js index 4770468c53..b2055c0e2f 100644 --- a/scripts/ipfsUpload.js +++ b/scripts/ipfsUpload.js @@ -16,7 +16,7 @@ async function main () { Redirecting to latest deployed IPFS instance - +

Redirecting you to ${url}