refactor: rudiment
This commit is contained in:
parent
72b87db11f
commit
9896506583
@ -461,7 +461,7 @@ const actions = {
|
||||
|
||||
if (
|
||||
((isEmptyArray(cachedEvents) || !cachedEvents) && networksWithCache[Number(netId)]) ||
|
||||
(cachedEvents.length < LENGTH_CACHE && networksWithCache[Number(netId)])
|
||||
cachedEvents.length < LENGTH_CACHE
|
||||
) {
|
||||
;({ events: cachedEvents } = await dispatch('loadEncryptedEvents', { netId }))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user