diff --git a/packages/page-staking/src/Actions/Account/index.tsx b/packages/page-staking/src/Actions/Account/index.tsx index 67dc799b40..5fcf42ef02 100644 --- a/packages/page-staking/src/Actions/Account/index.tsx +++ b/packages/page-staking/src/Actions/Account/index.tsx @@ -10,7 +10,7 @@ import { Codec, ITuple } from '@polkadot/types/types'; import BN from 'bn.js'; import React, { useContext, useEffect, useState } from 'react'; import styled from 'styled-components'; -import { AddressInfo, AddressMini, AddressSmall, Badge, Button, Menu, Popup, StatusContext, TxButton } from '@polkadot/react-components'; +import { AddressInfo, AddressMini, AddressSmall, Badge, Button, Menu, Popup, Spinner, StatusContext, TxButton } from '@polkadot/react-components'; import { useAccounts, useApi, useCall, useToggle } from '@polkadot/react-hooks'; import { u8aConcat, u8aToHex } from '@polkadot/util'; @@ -170,17 +170,20 @@ function Account ({ allStashes, className, isOwnStash, isVisible, next, onUpdate return ( - {payoutEras.length !== 0 && ( - - )} + {!stakingRewardsAll + ? + : (payoutEras.length !== 0 && ( + + )) + } - +