diff --git a/lib/displayHelpers.ts b/lib/displayHelpers.ts index 4e8a12f..f238d40 100644 --- a/lib/displayHelpers.ts +++ b/lib/displayHelpers.ts @@ -4,6 +4,10 @@ import { fromBase64, fromBech32, toBase64, toBech32 } from "@cosmjs/encoding"; import { Decimal } from "@cosmjs/math"; import { ChainInfo } from "../types"; +function capitalizeFirstLetter(str: string): string { + return str.charAt(0).toUpperCase() + str.slice(1); +} + function ellideMiddle(str: string, maxOutLen: number): string { if (str.length <= maxOutLen) { return str;