From be44ee4f2ba1bcc8c8e60aabc7b84f767b6979e7 Mon Sep 17 00:00:00 2001 From: Enzo Vezzaro Date: Wed, 22 Jun 2022 09:37:32 -0400 Subject: [PATCH] clean up --- src/components/@shared/AssetList/index.stories.tsx | 7 +------ src/components/@shared/AssetList/index.tsx | 1 - .../@shared/FormFields/AssetSelection/index.stories.tsx | 6 +----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/components/@shared/AssetList/index.stories.tsx b/src/components/@shared/AssetList/index.stories.tsx index 5693f86de..5745d53c3 100644 --- a/src/components/@shared/AssetList/index.stories.tsx +++ b/src/components/@shared/AssetList/index.stories.tsx @@ -2,12 +2,7 @@ import React from 'react' import { ComponentStory, ComponentMeta } from '@storybook/react' import AssetList, { AssetListProps } from '@shared/AssetList' import * as config from '../../../../app.config' -import { - assets, - locale, - mockWallet, - prices -} from '../../../../.storybook/__mockdata__' +import { assets, mockWallet } from '../../../../.storybook/__mockdata__' import UrqlClientProvider from '@context/UrqlProvider' export default { diff --git a/src/components/@shared/AssetList/index.tsx b/src/components/@shared/AssetList/index.tsx index 6d544855a..4fe5dda3a 100644 --- a/src/components/@shared/AssetList/index.tsx +++ b/src/components/@shared/AssetList/index.tsx @@ -9,7 +9,6 @@ import { useIsMounted } from '@hooks/useIsMounted' import { AssetExtended } from 'src/@types/AssetExtended' import { Asset } from '@oceanprotocol/lib' import { getAccessDetailsForAssets } from '@utils/accessDetailsAndPricing' -import { Prices } from '@context/Prices' const cx = classNames.bind(styles) diff --git a/src/components/@shared/FormFields/AssetSelection/index.stories.tsx b/src/components/@shared/FormFields/AssetSelection/index.stories.tsx index 915aaf0d6..f1943440d 100644 --- a/src/components/@shared/FormFields/AssetSelection/index.stories.tsx +++ b/src/components/@shared/FormFields/AssetSelection/index.stories.tsx @@ -3,11 +3,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react' import AssetSelection, { AssetSelectionProps } from '@shared/FormFields/AssetSelection' -import { - assetSelectionAsset, - locale, - prices -} from '../../../../../.storybook/__mockdata__' +import { assetSelectionAsset } from '../../../../../.storybook/__mockdata__' export default { title: 'Component/@shared/FormFields/AssetSelection',