mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Move component into another folder (#13380)
This commit is contained in:
parent
eb39c51ede
commit
fcd5f89e2f
@ -74,3 +74,4 @@
|
|||||||
@import 'advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/index';
|
@import 'advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/index';
|
||||||
@import 'advanced-gas-fee-popover/advanced-gas-fee-input-subtext/index';
|
@import 'advanced-gas-fee-popover/advanced-gas-fee-input-subtext/index';
|
||||||
@import 'advanced-gas-fee-popover/advanced-gas-fee-defaults/index';
|
@import 'advanced-gas-fee-popover/advanced-gas-fee-defaults/index';
|
||||||
|
@import 'currency-input/index';
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import React, { useContext, useEffect, useState } from 'react';
|
import React, { useContext, useEffect, useState } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
import UnitInput from '../unit-input';
|
import UnitInput from '../../ui/unit-input';
|
||||||
import CurrencyDisplay from '../currency-display';
|
import CurrencyDisplay from '../../ui/currency-display';
|
||||||
import {
|
import {
|
||||||
getValueFromWeiHex,
|
getValueFromWeiHex,
|
||||||
getWeiHexFromDecimalValue,
|
getWeiHexFromDecimalValue,
|
@ -4,8 +4,8 @@ import { mount } from 'enzyme';
|
|||||||
import sinon from 'sinon';
|
import sinon from 'sinon';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import configureMockStore from 'redux-mock-store';
|
import configureMockStore from 'redux-mock-store';
|
||||||
import UnitInput from '../unit-input';
|
import UnitInput from '../../ui/unit-input';
|
||||||
import CurrencyDisplay from '../currency-display';
|
import CurrencyDisplay from '../../ui/currency-display';
|
||||||
import CurrencyInput from './currency-input';
|
import CurrencyInput from './currency-input';
|
||||||
|
|
||||||
describe('CurrencyInput Component', () => {
|
describe('CurrencyInput Component', () => {
|
@ -1,6 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import CurrencyInput from '../../ui/currency-input';
|
import CurrencyInput from '../currency-input';
|
||||||
|
|
||||||
export default class UserPreferencedCurrencyInput extends PureComponent {
|
export default class UserPreferencedCurrencyInput extends PureComponent {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import CurrencyInput from '../../ui/currency-input';
|
import CurrencyInput from '../currency-input';
|
||||||
import UserPreferencedCurrencyInput from './user-preferenced-currency-input.component';
|
import UserPreferencedCurrencyInput from './user-preferenced-currency-input.component';
|
||||||
|
|
||||||
describe('UserPreferencedCurrencyInput Component', () => {
|
describe('UserPreferencedCurrencyInput Component', () => {
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
@import 'color-indicator/color-indicator';
|
@import 'color-indicator/color-indicator';
|
||||||
@import 'confusable/index';
|
@import 'confusable/index';
|
||||||
@import 'currency-display/index';
|
@import 'currency-display/index';
|
||||||
@import 'currency-input/index';
|
|
||||||
@import 'definition-list/definition-list';
|
@import 'definition-list/definition-list';
|
||||||
@import 'dialog/dialog';
|
@import 'dialog/dialog';
|
||||||
@import 'dropdown/dropdown';
|
@import 'dropdown/dropdown';
|
||||||
|
Loading…
Reference in New Issue
Block a user