diff --git a/ts/graphs/RangeBox.svelte b/ts/graphs/RangeBox.svelte index 21956373e..0bc800d3e 100644 --- a/ts/graphs/RangeBox.svelte +++ b/ts/graphs/RangeBox.svelte @@ -56,7 +56,7 @@ if (event.code === "Enter") { $search = displayedSearch; } - }; + } const year = i18n.tr(i18n.TR.STATISTICS_RANGE_1_YEAR_HISTORY); const deck = i18n.tr(i18n.TR.STATISTICS_RANGE_DECK); diff --git a/ts/graphs/WithGraphData.svelte b/ts/graphs/WithGraphData.svelte index 143c85045..0164ca8c0 100644 --- a/ts/graphs/WithGraphData.svelte +++ b/ts/graphs/WithGraphData.svelte @@ -14,9 +14,11 @@ value: graphValue, } = useAsyncReactive(() => getGraphData($search, $days), [search, days]); - const { loading: prefsLoading, error: prefsError, value: prefsValue } = useAsync( - () => getPreferences() - ); + const { + loading: prefsLoading, + error: prefsError, + value: prefsValue, + } = useAsync(() => getPreferences()); $: revlogRange = daysToRevlogRange($days);