This commit is contained in:
feruz 2021-04-21 10:08:31 +03:00
parent 1575d8312e
commit eb2c0fba35
3 changed files with 7 additions and 3 deletions

View File

@ -142,7 +142,6 @@ class TransferContainer extends Component {
}
data.amount = `${data.amount} ${fundType}`;
console.log('transferType', transferType, fundType);
switch (transferType) {
case 'transfer_token':
func = transferToken;

View File

@ -76,6 +76,7 @@ export const fetchGlobalProps = async () => {
try {
globalDynamic = await getDynamicGlobalProperties();
await setCache('globalDynamic', globalDynamic);
feedHistory = await getFeedHistory();
rewardFund = await getRewardFund();
} catch (e) {
@ -183,7 +184,12 @@ export const getUser = async (user, loggedIn = true) => {
return null;
}
const globalProperties = getCache('globalDynamic');
let globalProperties;
try {
globalProperties = await getDynamicGlobalProperties();
} catch (error) {
globalProperties = getCache('globalDynamic');
}
const rcPower =
(user &&

View File

@ -143,7 +143,6 @@ class DelegateScreen extends Component {
} = this.props;
const { amount, isTransfering, from, destination, steemConnectTransfer } = this.state;
let availableVestingShares = 0;
console.log(accountType);
if (!isEmptyDate(get(selectedAccount, 'next_vesting_withdrawal'))) {
// powering down
availableVestingShares =