Skip to content

Commit ad3701b

Browse files
committed
text conflict issue fix
1 parent a5af251 commit ad3701b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/StatGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const StatGraph: FC = () => {
1212
const keys = Object.keys(storedStat)
1313
const data = keys.map((k, i) => {
1414
return {
15-
name: k.length > 5 ? k.slice(0, 4) + '...' : k,
15+
name: k.split(' ').length > 1 ? k.split(' ')[k.split(' ').length - 1] : k,
1616
value: Math.floor(storedStat[k].value * 10) / 10,
1717
}
1818
})

0 commit comments

Comments
 (0)