mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-26 18:54:12 +00:00
capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
parent
96cf021105
commit
7ea9f26a1c
|
@ -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 />
|
||||
) : (
|
||||
capitalizeFirstLetter(
|
||||
I18NextService.i18n.t("mark_all_as_read")
|
||||
)
|
||||
)}
|
||||
</button>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue