Skip to content

Commit

Permalink
chore: fix more i18n imports
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Nov 1, 2024
1 parent 492b568 commit 98a7193
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/DataDimension/Calculation/FormulaField.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import i18n from '@dhis2/d2-i18n'
import { Center, CircularLoader } from '@dhis2/ui'
import { useDroppable } from '@dnd-kit/core'
import { SortableContext } from '@dnd-kit/sortable'
import PropTypes from 'prop-types'
import React from 'react'
import FormulaIcon from '../../../assets/FormulaIcon.js'
import i18n from '../../../locales/index.js'
import DropZone from './DropZone.js'
import FormulaItem from './FormulaItem.js'
import styles from './styles/FormulaField.style.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/PivotTable/PivotTableValueCell.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import i18n from '@dhis2/d2-i18n'
import PropTypes from 'prop-types'
import React, { useRef } from 'react'
import i18n from '../../locales/index.js'
import { applyLegendSet } from '../../modules/pivotTable/applyLegendSet.js'
import { CELL_TYPE_VALUE } from '../../modules/pivotTable/pivotTableConstants.js'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Toolbar/InterpretationsAndDetailsToggler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import i18n from '@dhis2/d2-i18n'
import { IconChevronRight24, IconChevronLeft24 } from '@dhis2/ui'
import PropTypes from 'prop-types'
import React from 'react'
import i18n from '../../locales/index.js'
import menuButtonStyles from './MenuButton.styles.js'

export const InterpretationsAndDetailsToggler = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/Toolbar/UpdateButton.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { CircularLoader } from '@dhis2-ui/loader'
import i18n from '@dhis2/d2-i18n'
import { colors } from '@dhis2/ui-constants'
import { IconSync16 } from '@dhis2/ui-icons'
import PropTypes from 'prop-types'
import React from 'react'
import i18n from '../../locales/index.js'
import menuButtonStyles from './MenuButton.styles.js'

export const UpdateButton = ({ onClick, disabled, loading, dataTest }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/modules/pivotTable/PivotTableEngine.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import i18n from '@dhis2/d2-i18n'
import times from 'lodash/times'
import i18n from '../../locales/index.js'
import {
DIMENSION_TYPE_DATA,
DIMENSION_TYPE_DATA_ELEMENT_GROUP_SET,
Expand Down

0 comments on commit 98a7193

Please sign in to comment.