mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 10:52:16 +03:00
cleanup
This commit is contained in:
parent
1575d8312e
commit
eb2c0fba35
@ -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;
|
||||
|
@ -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 &&
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user