This commit is contained in:
Timothy Jaeryang Baek committed 2026-09-03 20:22:32 -04:00
1 parent ca26632a2a
commit f677fdbf50
59 files changed
+285 -217

No files matched your search

@@ -3,7 +3,7 @@
import { getContext } from 'svelte';
import Spinner from '$lib/components/common/Spinner.svelte';
const i18n = getContext('i18n');
const i18n: any = getContext('i18n');
export let history: Array<{ date: string; won: number; lost: number }> = [];
export let loading = false;
@@ -76,7 +76,7 @@
labels,
datasets: [
{
label: 'Won',
label: $i18n.t('Won'),
data: wonData,
backgroundColor: '#5ba3c8',
borderRadius: 2,
@@ -84,7 +84,7 @@
categoryPercentage
},
{
label: 'Lost',
label: $i18n.t('Lost'),
data: lostData,
backgroundColor: '#d97c5a',
borderRadius: 2,