fix capitalization (#1467)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
Alec Armbruster 2023-06-22 08:58:51 -04:00 committed by GitHub
parent 0247f8a2cf
commit 98cedb8832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,11 @@
import { myAuthRequired, newVote, showScores } from "@utils/app";
import { canShare, share } from "@utils/browser";
import { futureDaysToUnixTime, hostname, numToSI } from "@utils/helpers";
import {
capitalizeFirstLetter,
futureDaysToUnixTime,
hostname,
numToSI,
} from "@utils/helpers";
import { isImage, isVideo } from "@utils/media";
import {
amAdmin,
@ -981,7 +986,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
classes={classNames("me-1", { "text-danger": locked })}
inline
/>
{label}
{capitalizeFirstLetter(label)}
</>
)}
</button>