]> Untitled Git - lemmy-ui.git/commitdiff
capitalize button (#1616)
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Mon, 26 Jun 2023 19:25:22 +0000 (15:25 -0400)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 19:25:22 +0000 (15:25 -0400)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
src/shared/components/person/inbox.tsx

index 395875be4c49b975a3c3364ee99ee7c120115d95..c414e8be28502b1bdf4782f1d7d6b8340f9f7b8c 100644 (file)
@@ -11,6 +11,7 @@ import {
   setIsoData,
   updatePersonBlock,
 } from "@utils/app";
+import { capitalizeFirstLetter } from "@utils/helpers";
 import { RouteDataResponse } from "@utils/types";
 import { Component, linkEvent } from "inferno";
 import {
@@ -243,7 +244,9 @@ export class Inbox extends Component<any, InboxState> {
                 {this.state.markAllAsReadRes.state == "loading" ? (
                   <Spinner />
                 ) : (
-                  I18NextService.i18n.t("mark_all_as_read")
+                  capitalizeFirstLetter(
+                    I18NextService.i18n.t("mark_all_as_read")
+                  )
                 )}
               </button>
             )}