Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonymous committed Aug 22, 2024
1 parent 6a5eea1 commit 5b5afd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/player.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ export class PlayerPage extends LitElement {
`;
}

private priceTrendTemplate(trend: number): string {
private priceTrendTemplate(trend: number): TemplateResult {
switch (trend) {
case 1:
return `🠕`;
return html`⇑`;
case 2:
return `🠗`;
return html`⇓`;
default:
case 0:
return `-`;
return html`⇔`;
}
}
}

0 comments on commit 5b5afd6

Please sign in to comment.