diff --git a/ts/graphs/WithGraphData.svelte b/ts/graphs/WithGraphData.svelte index 8ce026e1d..143c85045 100644 --- a/ts/graphs/WithGraphData.svelte +++ b/ts/graphs/WithGraphData.svelte @@ -14,9 +14,8 @@ value: graphValue, } = useAsyncReactive(() => getGraphData($search, $days), [search, days]); - const preferencesPromise = getPreferences(); const { loading: prefsLoading, error: prefsError, value: prefsValue } = useAsync( - () => preferencesPromise + () => getPreferences() ); $: revlogRange = daysToRevlogRange($days);