Skip to content

Commit

Permalink
Fix UltraBullet ratings not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
allanjoseph98 committed Jan 6, 2024
1 parent d58f24d commit 9ed42d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/chart/src/ratingHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import dayOfYear from 'dayjs/plugin/dayOfYear';
interface Opts {
data: PerfRatingHistory[];
singlePerfName?: string;
perfIndex: number;
perfIndex?: number;
}

type TsAndRating = { ts: number; rating: number };
Expand Down Expand Up @@ -59,7 +59,7 @@ const styles: ChartPerf[] = [
{ color: '#FFAEAA', borderDash: [3], symbol: 'rectRot', name: 'RacingKings' },
{ color: '#56B4E9', borderDash: [10], symbol: 'rectRounded', name: 'Crazyhouse' },
{ color: '#0072B2', borderDash: [10], symbol: 'triangle', name: 'Puzzle' },
{ color: '#009E73', borderDash: [10], symbol: 'triangle', name: 'Ultrabullet' },
{ color: '#009E73', borderDash: [10], symbol: 'triangle', name: 'UltraBullet' },
];

const oneDay = 24 * 60 * 60 * 1000;
Expand Down

0 comments on commit 9ed42d8

Please sign in to comment.