fix: correct string interpolation for activity display in Lanyard component
All checks were successful
Code quality checks / biome (push) Successful in 7s

This commit is contained in:
Seth 2025-05-16 00:26:30 -04:00
parent 723edde53f
commit 8c000ba0b7

View file

@ -42,7 +42,7 @@ export default () => {
lanyard.activities.map((act) => { lanyard.activities.map((act) => {
const type = activityTypes[act.type]; const type = activityTypes[act.type];
const parts = [ const parts = [
`${type} ${act.name === "Custom Status" ? "" : act.name}`, `${type}${act.name === "Custom Status" ? "" : ` ${act.name}`}`,
]; ];
if (act.details && act.details !== act.name) if (act.details && act.details !== act.name)
parts.push(act.details); parts.push(act.details);