1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

UX: Multichain: Make imports consistent (#19793)

This commit is contained in:
David Walsh 2023-06-28 08:37:03 -05:00 committed by GitHub
parent c8f26d8c24
commit fd20f48e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import testData from '../../../../.storybook/test-data';
import { AccountDetails } from './account-details';
import { AccountDetails } from '.';
const [, address] = Object.keys(testData.metamask.identities);

View File

@ -8,7 +8,7 @@ import {
BackgroundColor,
Color,
} from '../../../helpers/constants/design-system';
import { ConnectedSiteMenu } from './connected-site-menu';
import { ConnectedSiteMenu } from '.';
export default {
title: 'Components/Multichain/ConnectedSiteMenu',

View File

@ -10,7 +10,7 @@ import {
BackgroundColor,
Color,
} from '../../../helpers/constants/design-system';
import { ConnectedSiteMenu } from './connected-site-menu';
import { ConnectedSiteMenu } from '.';
describe('Connected Site Menu', () => {
const selectedAddress = '0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b';

View File

@ -1,5 +1,5 @@
import React from 'react';
import { DetectedTokensBanner } from './detected-token-banner';
import { DetectedTokensBanner } from '.';
export default {
title: 'Components/Multichain/DetectedTokensBanner',

View File

@ -3,7 +3,7 @@ import { renderWithProvider, screen, fireEvent } from '../../../../test/jest';
import configureStore from '../../../store/store';
import testData from '../../../../.storybook/test-data';
import { DetectedTokensBanner } from './detected-token-banner';
import { DetectedTokensBanner } from '.';
describe('DetectedTokensBanner', () => {
let setShowDetectedTokensSpy;

View File

@ -1,5 +1,5 @@
import React from 'react';
import { ImportTokenLink } from './import-token-link';
import { ImportTokenLink } from '.';
export default {
title: 'Components/Multichain/ImportTokenLink',

View File

@ -3,7 +3,7 @@ import configureMockStore from 'redux-mock-store';
import { fireEvent, screen } from '@testing-library/react';
import { detectNewTokens } from '../../../store/actions';
import { renderWithProvider } from '../../../../test/lib/render-helpers';
import { ImportTokenLink } from './import-token-link';
import { ImportTokenLink } from '.';
const mockPushHistory = jest.fn();

View File

@ -1,5 +1,5 @@
import React from 'react';
import { NftItem } from './nft-item';
import { NftItem } from '.';
export default {
title: 'Components/Multichain/NftItem',

View File

@ -1,5 +1,5 @@
import React from 'react';
import { ProductTour } from './product-tour-popover';
import { ProductTour } from '.';
export default {
title: 'Components/Multichain/ProductTour',

View File

@ -1,7 +1,7 @@
import React from 'react';
import { render } from '@testing-library/react';
import { ProductTour } from './product-tour-popover';
import { ProductTour } from '.';
describe('DetectedTokensBanner', () => {
const props = {

View File

@ -2,7 +2,7 @@ import React from 'react';
import { Provider } from 'react-redux';
import testData from '../../../../.storybook/test-data';
import configureStore from '../../../store/store';
import { TokenListItem } from './token-list-item';
import { TokenListItem } from '.';
export default {
title: 'Components/Multichain/MultichainTokenListItem',

View File

@ -3,7 +3,7 @@ import configureMockStore from 'redux-mock-store';
import { fireEvent } from '@testing-library/react';
import { renderWithProvider } from '../../../../test/lib/render-helpers';
import { TokenListItem } from './token-list-item';
import { TokenListItem } from '.';
const state = {
metamask: {