refactor: rudiment

This commit is contained in:
Pasha8914 2022-06-13 17:21:27 +10:00 committed by Danil Kovtonyuk
parent 72b87db11f
commit 9896506583

View File

@ -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 }))
}