Skip to content

Commit

Permalink
fix(stats-text): stats tooltip text should be plural
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtabBukhari committed Oct 31, 2024
1 parent a1a314c commit 7aa0bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Stats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const Stats = () => {

const generateStatConfigItem = (key: string) => {
const name = convertToTitleCase(key.split('_')[0])
const tooltip = name
const tooltip = `${name}s`
const primaryIcon = normalizedSchemasByType[name]?.icon
const Icon = Icons[primaryIcon as string] || NodesIcon

Expand Down

0 comments on commit 7aa0bf2

Please sign in to comment.