Skip to content

Commit

Permalink
featt(search-results): use next_page, previous_page translation keys …
Browse files Browse the repository at this point in the history
…from catalogue namespace
  • Loading branch information
mohannadzidan committed May 25, 2024
1 parent c13d13b commit 4140419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/pages/home/search-results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export function SearchResults() {
disabled={page === 0 || isLoading}
>
<ArrowLeftIcon />
{t("previous_page")}
{t("previous_page", { ns: "catalogue" })}
</Button>

<Button onClick={handleNextPage} theme="outline" disabled={isLoading}>
{t("next_page")}
{t("next_page", { ns: "catalogue" })}
<ArrowRightIcon />
</Button>
</section>
Expand Down

0 comments on commit 4140419

Please sign in to comment.