diff --git a/src/components/@shared/Price/PriceUnit/index.stories.tsx b/src/components/@shared/Price/PriceUnit/index.stories.tsx index fb360ec96..5aef1d176 100644 --- a/src/components/@shared/Price/PriceUnit/index.stories.tsx +++ b/src/components/@shared/Price/PriceUnit/index.stories.tsx @@ -1,7 +1,7 @@ import React from 'react' import { ComponentStory, ComponentMeta } from '@storybook/react' import PriceUnit, { PriceUnitProps } from '@shared/Price/PriceUnit' -import { locale } from '.storybook/__mockdata__' +import { locale } from '../../../../../.storybook/__mockdata__' export default { title: 'Component/@shared/Price/PriceUnit', diff --git a/src/components/@shared/Price/PriceUnit/index.tsx b/src/components/@shared/Price/PriceUnit/index.tsx index d886c4802..98d803b90 100644 --- a/src/components/@shared/Price/PriceUnit/index.tsx +++ b/src/components/@shared/Price/PriceUnit/index.tsx @@ -2,7 +2,6 @@ import React, { ReactElement } from 'react' import { formatCurrency } from '@coingecko/cryptoformat' import Conversion from '../Conversion' import styles from './index.module.css' -import { useUserPreferences } from '@context/UserPreferences' import Badge from '@shared/atoms/Badge' export function formatPrice(price: string, locale: string): string { diff --git a/src/components/@shared/Price/index.stories.tsx b/src/components/@shared/Price/index.stories.tsx index e465b5513..f33bd1a7e 100644 --- a/src/components/@shared/Price/index.stories.tsx +++ b/src/components/@shared/Price/index.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import { ComponentStory, ComponentMeta } from '@storybook/react' import Price, { PriceProps } from '@shared/Price' import { AccessDetails } from 'src/@types/Price' -import { locale } from '.storybook/__mockdata__' +import { locale } from '../../../../.storybook/__mockdata__' export default { title: 'Component/@shared/Price',