From 401f1700b5c7d90b7792d9f4b5ae31bb929f18c7 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 28 Feb 2025 11:36:34 -0700 Subject: [PATCH] udpate names --- .../features/Buttons/SaveMetricToCollectionButton.tsx | 2 +- .../features/Buttons/SaveMetricToDashboardButton.tsx | 3 +-- web/src/components/features/buttons/CollectionsButton.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/src/components/features/Buttons/SaveMetricToCollectionButton.tsx b/web/src/components/features/Buttons/SaveMetricToCollectionButton.tsx index 828cadee6..9a9671197 100644 --- a/web/src/components/features/Buttons/SaveMetricToCollectionButton.tsx +++ b/web/src/components/features/Buttons/SaveMetricToCollectionButton.tsx @@ -3,7 +3,7 @@ import { useBusterCollectionListContextSelector } from '@/context/Collections'; import { useMemoizedFn } from 'ahooks'; import React, { useState } from 'react'; import { SaveToCollectionsDropdown } from '../Dropdowns/SaveToCollectionsDropdown'; -import { CollectionButton } from './CollectionsButton'; +import { CollectionButton } from './SwagTest'; import { useBusterMetricsIndividualContextSelector } from '@/context/Metrics'; export const SaveMetricToCollectionButton: React.FC<{ diff --git a/web/src/components/features/Buttons/SaveMetricToDashboardButton.tsx b/web/src/components/features/Buttons/SaveMetricToDashboardButton.tsx index a48986bc5..0720399e1 100644 --- a/web/src/components/features/Buttons/SaveMetricToDashboardButton.tsx +++ b/web/src/components/features/Buttons/SaveMetricToDashboardButton.tsx @@ -1,6 +1,5 @@ -import { useBusterDashboardListByFilter } from '@/context/Dashboards'; import { useBusterMetricsIndividualContextSelector } from '@/context/Metrics'; -import { useMemoizedFn, useMount } from 'ahooks'; +import { useMemoizedFn } from 'ahooks'; import React from 'react'; import { SaveToDashboardDropdown } from '../Dropdowns/SaveToDashboardDropdown'; import { Button } from 'antd'; diff --git a/web/src/components/features/buttons/CollectionsButton.tsx b/web/src/components/features/buttons/CollectionsButton.tsx index d6e3103c3..226e30159 100644 --- a/web/src/components/features/buttons/CollectionsButton.tsx +++ b/web/src/components/features/buttons/CollectionsButton.tsx @@ -1,4 +1,4 @@ -import { AppMaterialIcons } from '@/components/ui'; +import { AppMaterialIcons } from '@/components/ui/icons'; import { Button } from 'antd'; import React from 'react';