diff --git a/apps/block_scout_web/assets/js/lib/async_listing_load.js b/apps/block_scout_web/assets/js/lib/async_listing_load.js index ca19f3b9ea..9119511470 100644 --- a/apps/block_scout_web/assets/js/lib/async_listing_load.js +++ b/apps/block_scout_web/assets/js/lib/async_listing_load.js @@ -81,11 +81,11 @@ export function asyncReducer (state = asyncInitialState, action) { loadingFirstPage: false }) } - case 'ITEMS_FETCHED': { + case 'ITEMS_FETCHED': { var prevPagePath = null if (state.pagesStack.length >= 2) { - prevPagePath = state.pagesStack[state.pagesStack.length - 2] + prevPagePath = state.pagesStack[state.pagesStack.length - 2] } return Object.assign({}, state, { @@ -95,7 +95,7 @@ export function asyncReducer (state = asyncInitialState, action) { prevPagePath: prevPagePath }) } - case 'NAVIGATE_TO_OLDER': { + case 'NAVIGATE_TO_OLDER': { history.replaceState({}, null, state.nextPagePath) if (state.pagesStack.length === 0) { diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 7f78455717..8d04e59dd8 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -1710,7 +1710,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 msgid "Page" msgstr "" @@ -1728,7 +1728,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 msgid "of" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 7a9b5ba7cc..da66541590 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -1710,7 +1710,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 msgid "Page" msgstr "" @@ -1728,7 +1728,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 msgid "of" msgstr ""