mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 11:21:41 +03:00
fixed crash caused by null quotes in coinDetailsScreen
This commit is contained in:
parent
23974fc311
commit
4681ddae13
@ -42,7 +42,7 @@ const CoinDetailsScreen = ({ navigation }: CoinDetailsScreenProps) => {
|
||||
const globalProps = useAppSelector(state => state.account.globalProps);
|
||||
const selectedCoins = useAppSelector(state => state.wallet.selectedCoins);
|
||||
const coinData: CoinData = useAppSelector(state => state.wallet.coinsData[coinId]);
|
||||
const quote: QuoteItem = useAppSelector(state => state.wallet.quotes[coinId]);
|
||||
const quote: QuoteItem = useAppSelector(state => state.wallet.quotes ? state.wallet.quotes[coinId] : {});
|
||||
const coinActivities: CoinActivitiesCollection = useAppSelector(state => state.wallet.coinsActivities[coinId]);
|
||||
const isPinCodeOpen = useAppSelector(state => state.application.isPinCodeOpen);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user