From 3b1a38a6cf634bf532fd090dfcf9f7e1d28b35b2 Mon Sep 17 00:00:00 2001 From: Dhiraj Kumar Date: Sat, 9 Sep 2023 23:28:44 +0530 Subject: [PATCH] Prettier fixes --- .../src/features/dashboards/leaderboard/Leaderboard.svelte | 3 --- .../dashboards/time-series/multiple-dimension-queries.ts | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/web-common/src/features/dashboards/leaderboard/Leaderboard.svelte b/web-common/src/features/dashboards/leaderboard/Leaderboard.svelte index edffb8a5112..df81030f72c 100644 --- a/web-common/src/features/dashboards/leaderboard/Leaderboard.svelte +++ b/web-common/src/features/dashboards/leaderboard/Leaderboard.svelte @@ -20,7 +20,6 @@ MetricsViewDimension, MetricsViewMeasure, } from "@rilldata/web-common/runtime-client"; - import { useQueryClient } from "@tanstack/svelte-query"; import { runtime } from "../../../runtime-client/runtime-store"; import { SortDirection } from "../proto-state/derived-types"; import { metricsExplorerStore, useDashboardStore } from "../dashboard-stores"; @@ -44,8 +43,6 @@ let slice = 7; - const queryClient = useQueryClient(); - $: dashboardStore = useDashboardStore(metricViewName); let filterExcludeMode: boolean; diff --git a/web-common/src/features/dashboards/time-series/multiple-dimension-queries.ts b/web-common/src/features/dashboards/time-series/multiple-dimension-queries.ts index a5b1a4bd5fb..3f868cec334 100644 --- a/web-common/src/features/dashboards/time-series/multiple-dimension-queries.ts +++ b/web-common/src/features/dashboards/time-series/multiple-dimension-queries.ts @@ -1,10 +1,7 @@ // Throw away code for fetching timeseries data for individual dimension values import { derived, writable } from "svelte/store"; -import { - createQueryServiceMetricsViewToplist, - createQueryServiceMetricsViewTimeSeries, -} from "@rilldata/web-common/runtime-client"; +import { createQueryServiceMetricsViewTimeSeries } from "@rilldata/web-common/runtime-client"; import { prepareTimeSeries } from "./utils"; import { CHECKMARK_COLORS,