Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Jan 16, 2025
1 parent dd40922 commit fc33593
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/pages/dataSetsWip/form/DataSetFormContents.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
import React from 'react'
import { SectionedFormSections } from '../../../components/sectionedForm'
import { AdvancedFormContents } from './AdvancedFormContents'
import { DataFormContents } from './DataFormContents'
import {

Check failure on line 5 in src/pages/dataSetsWip/form/DataSetFormContents.tsx

View workflow job for this annotation

GitHub Actions / lint

`../../../lib` import should occur before import of `./AdvancedFormContents`
SECTIONS_MAP,
useSectionedFormContext,
useSyncSelectedSectionWithScroll,
} from '../../../lib'
import { DataSetFormDescriptor } from './formDescriptor'
import { SetupFormContents } from './SetupFormContents'
import { DataFormContents } from './DataFormContents'
import { FormFormContents } from './FormFormContents'
import { OrganisationUnitsFormContents } from './OrganisationUnitsFormContents'
import { PeriodsContents } from './PeriodsFormContents'
import { SetupFormContents } from './SetupFormContents'
import { ValidationFormContents } from './ValidationFormContents'
import { OrganisationUnitsFormContents } from './OrganisationUnitsFormContents'
import { FormFormContents } from './FormFormContents'
import { AdvancedFormContents } from './AdvancedFormContents'

const section = SECTIONS_MAP.dataSet

export const DataSetFormContents = () => {
const descriptor = useSectionedFormContext<typeof DataSetFormDescriptor>()
Expand Down

0 comments on commit fc33593

Please sign in to comment.