fix: correct string interpolation for activity display in Lanyard component
All checks were successful
Code quality checks / biome (push) Successful in 7s
All checks were successful
Code quality checks / biome (push) Successful in 7s
This commit is contained in:
parent
723edde53f
commit
8c000ba0b7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export default () => {
|
|||
lanyard.activities.map((act) => {
|
||||
const type = activityTypes[act.type];
|
||||
const parts = [
|
||||
`${type} ${act.name === "Custom Status" ? "" : act.name}`,
|
||||
`${type}${act.name === "Custom Status" ? "" : ` ${act.name}`}`,
|
||||
];
|
||||
if (act.details && act.details !== act.name)
|
||||
parts.push(act.details);
|
||||
|
|
Loading…
Add table
Reference in a new issue