chore: stop using alias imports
This commit is contained in:
parent
ad7a2eac4e
commit
b48c590bc8
243 changed files with 1061 additions and 1080 deletions
|
|
@ -2,10 +2,10 @@ import classnames from 'classnames'
|
|||
import { Formik, Form, FastField } from 'formik'
|
||||
import * as R from 'ramda'
|
||||
import React, { useState } from 'react'
|
||||
import ErrorMessage from 'src/components/ErrorMessage'
|
||||
import ErrorMessage from '../../components/ErrorMessage'
|
||||
|
||||
import { Button } from 'src/components/buttons'
|
||||
import { SecretInput } from 'src/components/inputs/formik'
|
||||
import { Button } from '../../components/buttons'
|
||||
import { SecretInput } from '../../components/inputs/formik'
|
||||
|
||||
const FormRenderer = ({
|
||||
validationSchema,
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
import { useQuery, useMutation, gql } from '@apollo/client'
|
||||
import * as R from 'ramda'
|
||||
import React, { useState } from 'react'
|
||||
import Modal from 'src/components/Modal'
|
||||
import CheckboxInput from 'src/components/inputs/formik/Checkbox'
|
||||
import TitleSection from 'src/components/layout/TitleSection'
|
||||
import SingleRowTable from 'src/components/single-row-table/SingleRowTable'
|
||||
import Modal from '../../components/Modal'
|
||||
import CheckboxInput from '../../components/inputs/formik/Checkbox'
|
||||
import TitleSection from '../../components/layout/TitleSection'
|
||||
import SingleRowTable from '../../components/single-row-table/SingleRowTable'
|
||||
|
||||
import { SecretInput } from 'src/components/inputs/formik'
|
||||
import { formatLong } from 'src/utils/string'
|
||||
import { SecretInput } from '../../components/inputs/formik'
|
||||
import { formatLong } from '../../utils/string'
|
||||
|
||||
import FormRenderer from './FormRenderer'
|
||||
import _schemas from './schemas'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
TextInput,
|
||||
SecretInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
import * as Yup from 'yup'
|
||||
|
||||
import { Checkbox, TextInput, NumberInput } from 'src/components/inputs/formik'
|
||||
import {
|
||||
Checkbox,
|
||||
TextInput,
|
||||
NumberInput,
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
export default {
|
||||
code: 'blockcypher',
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import CheckboxFormik from 'src/components/inputs/formik/Checkbox'
|
||||
import NumberInputFormik from 'src/components/inputs/formik/NumberInput'
|
||||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import CheckboxFormik from '../../../components/inputs/formik/Checkbox'
|
||||
import NumberInputFormik from '../../../components/inputs/formik/NumberInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest, leadingZerosTest } from './helper'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { buildCurrencyOptions, secretTest } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
SecretInput,
|
||||
TextInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest, buildCurrencyOptions } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import CheckboxFormik from 'src/components/inputs/formik/Checkbox'
|
||||
import NumberInputFormik from 'src/components/inputs/formik/NumberInput'
|
||||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import CheckboxFormik from '../../../components/inputs/formik/Checkbox'
|
||||
import NumberInputFormik from '../../../components/inputs/formik/NumberInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest, leadingZerosTest } from './helper'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
TextInput,
|
||||
SecretInput,
|
||||
Autocomplete,
|
||||
} from 'src/components/inputs/formik'
|
||||
} from '../../../components/inputs/formik'
|
||||
|
||||
const singleBitgo = code => ({
|
||||
code: 'bitgo',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import * as Yup from 'yup'
|
||||
|
||||
import { SecretInput, TextInput } from 'src/components/inputs/formik'
|
||||
import { SecretInput, TextInput } from '../../../components/inputs/formik'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import SecretInputFormik from 'src/components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||
import SecretInputFormik from '../../../components/inputs/formik/SecretInput'
|
||||
import TextInputFormik from '../../../components/inputs/formik/TextInput'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { secretTest } from './helper'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue