diff --git a/web/src/context/Dashboards/useOriginalDashboardStore.tsx b/web/src/context/Dashboards/useOriginalDashboardStore.tsx index 12c50a1e9..39f42bff3 100644 --- a/web/src/context/Dashboards/useOriginalDashboardStore.tsx +++ b/web/src/context/Dashboards/useOriginalDashboardStore.tsx @@ -1,12 +1,8 @@ 'use client'; -import type { BusterDashboard, BusterDashboardResponse } from '@/api/asset_interfaces/dashboard'; +import type { BusterDashboard } from '@/api/asset_interfaces/dashboard'; +import { useMount } from '@/hooks'; import { create } from 'zustand'; -import { compareObjectsByKeys } from '@/lib/objects'; -import { useGetDashboard } from '@/api/buster_rest/dashboards'; -import { useMemoizedFn, useMount } from '@/hooks'; -import { useQueryClient } from '@tanstack/react-query'; -import { dashboardQueryKeys } from '@/api/query_keys/dashboard'; type OriginalDashboardStore = { originalDashboards: Record; diff --git a/web/src/layouts/AppAssetCheckLayout/useGetAsset.tsx b/web/src/layouts/AppAssetCheckLayout/useGetAsset.tsx index 17687ce9b..0598dbff5 100644 --- a/web/src/layouts/AppAssetCheckLayout/useGetAsset.tsx +++ b/web/src/layouts/AppAssetCheckLayout/useGetAsset.tsx @@ -58,7 +58,11 @@ export const useGetAsset = (props: UseGetAssetProps): UseGetAssetReturn