chore: stop using alias imports
This commit is contained in:
parent
ad7a2eac4e
commit
b48c590bc8
243 changed files with 1061 additions and 1080 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { useQuery, useMutation, gql } from '@apollo/client'
|
||||
import React, { memo } from 'react'
|
||||
|
||||
import { BooleanPropertiesTable } from 'src/components/booleanPropertiesTable'
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
import { BooleanPropertiesTable } from '../../components/booleanPropertiesTable'
|
||||
import { fromNamespace, toNamespace, namespaces } from '../../utils/config'
|
||||
|
||||
import SwitchRow from './components/SwitchRow.jsx'
|
||||
import Header from './components/Header.jsx'
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@ import { useQuery, useMutation, gql } from '@apollo/client'
|
|||
import { Form, Formik, Field as FormikField } from 'formik'
|
||||
import * as R from 'ramda'
|
||||
import React, { useState } from 'react'
|
||||
import ErrorMessage from 'src/components/ErrorMessage'
|
||||
import PromptWhenDirty from 'src/components/PromptWhenDirty'
|
||||
import { H4, Info3, Label3 } from 'src/components/typography'
|
||||
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
|
||||
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
|
||||
import ErrorMessage from '../../components/ErrorMessage'
|
||||
import PromptWhenDirty from '../../components/PromptWhenDirty'
|
||||
import { H4, Info3, Label3 } from '../../components/typography'
|
||||
import EditIcon from '../../styling/icons/action/edit/enabled.svg?react'
|
||||
import WarningIcon from '../../styling/icons/warning-icon/comet.svg?react'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { Link } from 'src/components/buttons'
|
||||
import { TextInput } from 'src/components/inputs/formik'
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
import { Link } from '../../components/buttons'
|
||||
import { TextInput } from '../../components/inputs/formik'
|
||||
import { fromNamespace, toNamespace, namespaces } from '../../utils/config'
|
||||
|
||||
import SwitchRow from './components/SwitchRow.jsx'
|
||||
import InfoMessage from './components/InfoMessage.jsx'
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import { useQuery, useMutation, gql } from '@apollo/client'
|
||||
import * as R from 'ramda'
|
||||
import React, { memo } from 'react'
|
||||
import { H4 } from 'src/components/typography'
|
||||
import { H4 } from '../../components/typography'
|
||||
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
import { fromNamespace, toNamespace, namespaces } from '../../utils/config'
|
||||
|
||||
import SwitchRow from './components/SwitchRow.jsx'
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import { useQuery, useMutation, gql } from '@apollo/client'
|
|||
import * as R from 'ramda'
|
||||
import React, { memo } from 'react'
|
||||
|
||||
import { BooleanPropertiesTable } from 'src/components/booleanPropertiesTable'
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
import { BooleanPropertiesTable } from '../../components/booleanPropertiesTable'
|
||||
import { fromNamespace, toNamespace, namespaces } from '../../utils/config'
|
||||
|
||||
import Header from './components/Header.jsx'
|
||||
import SwitchRow from './components/SwitchRow.jsx'
|
||||
|
|
|
|||
|
|
@ -4,16 +4,16 @@ import Switch from '@mui/material/Switch'
|
|||
import IconButton from '@mui/material/IconButton'
|
||||
import * as R from 'ramda'
|
||||
import React, { useState } from 'react'
|
||||
import { HelpTooltip } from 'src/components/Tooltip'
|
||||
import DataTable from 'src/components/tables/DataTable'
|
||||
import { H4, P, Label3 } from 'src/components/typography'
|
||||
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
|
||||
import ExpandIconClosed from 'src/styling/icons/action/expand/closed.svg?react'
|
||||
import ExpandIconOpen from 'src/styling/icons/action/expand/open.svg?react'
|
||||
import WhiteLogo from 'src/styling/icons/menu/logo-white.svg?react'
|
||||
import { HelpTooltip } from '../../../components/Tooltip'
|
||||
import DataTable from '../../../components/tables/DataTable'
|
||||
import { H4, P, Label3 } from '../../../components/typography'
|
||||
import EditIcon from '../../../styling/icons/action/edit/enabled.svg?react'
|
||||
import ExpandIconClosed from '../../../styling/icons/action/expand/closed.svg?react'
|
||||
import ExpandIconOpen from '../../../styling/icons/action/expand/open.svg?react'
|
||||
import WhiteLogo from '../../../styling/icons/menu/logo-white.svg?react'
|
||||
|
||||
import { SupportLinkButton } from 'src/components/buttons'
|
||||
import { formatDate } from 'src/utils/timezones'
|
||||
import { SupportLinkButton } from '../../../components/buttons'
|
||||
import { formatDate } from '../../../utils/timezones'
|
||||
|
||||
import CustomSMSModal from './SMSNoticesModal'
|
||||
import SvgIcon from '@mui/material/SvgIcon'
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@ import Chip from '@mui/material/Chip'
|
|||
import { Form, Formik, Field } from 'formik'
|
||||
import * as R from 'ramda'
|
||||
import React from 'react'
|
||||
import ErrorMessage from 'src/components/ErrorMessage'
|
||||
import Modal from 'src/components/Modal'
|
||||
import { Info2 } from 'src/components/typography'
|
||||
import DefaultIconReverse from 'src/styling/icons/button/retry/white.svg?react'
|
||||
import DefaultIcon from 'src/styling/icons/button/retry/zodiac.svg?react'
|
||||
import ErrorMessage from '../../../components/ErrorMessage'
|
||||
import Modal from '../../../components/Modal'
|
||||
import { Info2 } from '../../../components/typography'
|
||||
import DefaultIconReverse from '../../../styling/icons/button/retry/white.svg?react'
|
||||
import DefaultIcon from '../../../styling/icons/button/retry/zodiac.svg?react'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { ActionButton, Button } from 'src/components/buttons'
|
||||
import { TextInput } from 'src/components/inputs/formik'
|
||||
import { zircon } from 'src/styling/variables'
|
||||
import { ActionButton, Button } from '../../../components/buttons'
|
||||
import { TextInput } from '../../../components/inputs/formik'
|
||||
import { zircon } from '../../../styling/variables'
|
||||
|
||||
const getErrorMsg = (formikErrors, formikTouched, mutationError) => {
|
||||
if (!formikErrors || !formikTouched) return null
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@ import classnames from 'classnames'
|
|||
import { Form, Formik, Field as FormikField } from 'formik'
|
||||
import * as R from 'ramda'
|
||||
import React, { useState } from 'react'
|
||||
import ErrorMessage from 'src/components/ErrorMessage'
|
||||
import PromptWhenDirty from 'src/components/PromptWhenDirty'
|
||||
import { Info2, Info3, Label3 } from 'src/components/typography'
|
||||
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
|
||||
import ErrorMessage from '../../components/ErrorMessage'
|
||||
import PromptWhenDirty from '../../components/PromptWhenDirty'
|
||||
import { Info2, Info3, Label3 } from '../../components/typography'
|
||||
import EditIcon from '../../styling/icons/action/edit/enabled.svg?react'
|
||||
import * as Yup from 'yup'
|
||||
|
||||
import { Link } from 'src/components/buttons'
|
||||
import { TextInput } from 'src/components/inputs/formik'
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
import { Link } from '../../components/buttons'
|
||||
import { TextInput } from '../../components/inputs/formik'
|
||||
import { fromNamespace, toNamespace, namespaces } from '../../utils/config'
|
||||
|
||||
import Header from './components/Header.jsx'
|
||||
import SwitchRow from './components/SwitchRow.jsx'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react'
|
||||
import { H4, P } from 'src/components/typography/index.jsx'
|
||||
import { HelpTooltip } from 'src/components/Tooltip.jsx'
|
||||
import { SupportLinkButton } from 'src/components/buttons/index.js'
|
||||
import { H4, P } from '../../../components/typography/index.jsx'
|
||||
import { HelpTooltip } from '../../../components/Tooltip.jsx'
|
||||
import { SupportLinkButton } from '../../../components/buttons/index.js'
|
||||
|
||||
const Header = ({ title, tooltipText, articleUrl }) => (
|
||||
<div className="flex items-center">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react'
|
||||
|
||||
import { Label1 } from 'src/components/typography'
|
||||
import { Label1 } from '../../../components/typography'
|
||||
|
||||
const InfoMessage = ({ Icon, children }) => (
|
||||
<div className="flex my-13 gap-4">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import React, { memo } from 'react'
|
||||
import { Label2, P } from 'src/components/typography/index.jsx'
|
||||
import { Label2, P } from '../../../components/typography/index.jsx'
|
||||
import Switch from '@mui/material/Switch'
|
||||
|
||||
const SwitchRow = memo(({ title, disabled = false, checked, save }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue