Skip to content

Commit

Permalink
capitalize button (LemmyNet#1616)
Browse files Browse the repository at this point in the history
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
  • Loading branch information
2 people authored and jsit committed Jun 26, 2023
1 parent 950dfad commit 022c27a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shared/components/person/inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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>
)}
Expand Down

0 comments on commit 022c27a

Please sign in to comment.