chore: stop using alias imports

This commit is contained in:
Rafael Taranto 2025-05-13 07:30:38 +01:00
parent ad7a2eac4e
commit b48c590bc8
243 changed files with 1061 additions and 1080 deletions

View file

@ -1,6 +1,6 @@
import classnames from 'classnames'
import React from 'react'
import { Label1 } from 'src/components/typography/index'
import { Label1 } from '../../../../components/typography/index'
const PercentageChart = ({ cashIn, cashOut }) => {
const value = cashIn || cashOut !== 0 ? cashIn : 50

View file

@ -4,8 +4,8 @@ import { getTimezoneOffset } from 'date-fns-tz'
import { add, format, startOfWeek, startOfYear } from 'date-fns/fp'
import React, { useCallback, useEffect, useMemo, useRef } from 'react'
import { numberToFiatAmount } from 'src/utils/number'
import { MINUTE, DAY, WEEK, MONTH } from 'src/utils/time'
import { numberToFiatAmount } from '../../../../utils/number'
import { MINUTE, DAY, WEEK, MONTH } from '../../../../utils/time'
const Graph = ({ data, timeFrame, timezone }) => {
const ref = useRef(null)

View file

@ -1,5 +1,5 @@
import React from 'react'
import { Info1, Label1 } from 'src/components/typography/index'
import { Info1, Label1 } from '../../../components/typography/index'
const InfoWithLabel = ({ info, label }) => {
return (

View file

@ -1,7 +1,7 @@
import classnames from 'classnames'
import * as R from 'ramda'
import React, { useState } from 'react'
import { H4 } from 'src/components/typography'
import { H4 } from '../../../components/typography'
const ranges = ['Month', 'Week', 'Day']

View file

@ -4,17 +4,17 @@ import classnames from 'classnames'
import { isAfter } from 'date-fns/fp'
import * as R from 'ramda'
import React, { useState } from 'react'
import { Info2, Label1, Label2, P } from 'src/components/typography/index'
import PercentDownIcon from 'src/styling/icons/dashboard/down.svg?react'
import PercentNeutralIcon from 'src/styling/icons/dashboard/equal.svg?react'
import PercentUpIcon from 'src/styling/icons/dashboard/up.svg?react'
import { Info2, Label1, Label2, P } from '../../../components/typography/index'
import PercentDownIcon from '../../../styling/icons/dashboard/down.svg?react'
import PercentNeutralIcon from '../../../styling/icons/dashboard/equal.svg?react'
import PercentUpIcon from '../../../styling/icons/dashboard/up.svg?react'
import { EmptyTable } from 'src/components/table'
import { java, neon } from 'src/styling/variables'
import { fromNamespace } from 'src/utils/config'
import { DAY, WEEK, MONTH } from 'src/utils/time'
import { timezones } from 'src/utils/timezone-list'
import { toTimezone } from 'src/utils/timezones'
import { EmptyTable } from '../../../components/table'
import { java, neon } from '../../../styling/variables'
import { fromNamespace } from '../../../utils/config'
import { DAY, WEEK, MONTH } from '../../../utils/time'
import { timezones } from '../../../utils/timezone-list'
import { toTimezone } from '../../../utils/timezones'
import PercentageChart from './Graphs/PercentageChart'
import LineChart from './Graphs/RefLineChart'