diff --git a/frontend/src/components/EntriesNavigation.js b/frontend/src/components/EntriesNavigation.js index 250739df..a1a22847 100644 --- a/frontend/src/components/EntriesNavigation.js +++ b/frontend/src/components/EntriesNavigation.js @@ -222,6 +222,9 @@ const EntriesNavigation = () => { overflow="hidden" direction="column" flexGrow={1} + mt="10px" + mr="5px" + ml="5px" > {streamCache && !eventsIsLoading ? ( <> @@ -433,7 +436,7 @@ const EntriesNavigation = () => { w="100%" //onScroll={(e) => handleScroll(e)} > - + {!loadNewerEventsIsFetching && !nextEventIsFetching ? ( )} - - {streamCache - .slice( - cursor, - streamCache.length <= cursor + PAGE_SIZE - ? streamCache.length - : cursor + PAGE_SIZE - ) - .map((entry, idx) => ( - - ))} - {previousEvent && - !loadOlderEventsIsFetching && - !previousEventIsFetching ? ( -
- -
- ) : ( -
- {!previousEventIsFetching && !loadOlderEventsIsFetching ? ( - "Тransactions not found. You can subscribe to more addresses in Subscriptions menu." - ) : ( + {streamCache + .slice( + cursor, + streamCache.length <= cursor + PAGE_SIZE + ? streamCache.length + : cursor + PAGE_SIZE + ) + .map((entry, idx) => ( + + ))} + {previousEvent && + !loadOlderEventsIsFetching && + !previousEventIsFetching ? ( +
- )} -
- )} + > + Load older events + +
+ ) : ( +
+ {!previousEventIsFetching && !loadOlderEventsIsFetching ? ( + "Тransactions not found. You can subscribe to more addresses in Subscriptions menu." + ) : ( + + )} +
+ )} +