Skip to content

Commit

Permalink
fix: remove unused sync hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Jan 16, 2025
1 parent 1c40e5f commit 480ae89
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/pages/dataSetsWip/form/OrganisationUnitsFormContents.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import i18n from '@dhis2/d2-i18n'
import React from 'react'
import {
ModelTransferField,
StandardFormField,
StandardFormSectionDescription,
StandardFormSectionTitle,
} from '../../../components'
Expand Down
2 changes: 0 additions & 2 deletions src/pages/dataSetsWip/form/SetupFormContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import {
StandardFormSectionTitle,
} from '../../../components'
import { SectionedFormSection } from '../../../components/sectionedForm'
import { useSyncSelectedSectionWithScroll } from '../../../lib'
import { ColorAndIconField } from '../../dataElements/fields'

export const SetupFormContents = ({ name }: { name: string }) => {
useSyncSelectedSectionWithScroll()
return (
<SectionedFormSection name={name}>
<StandardFormSectionTitle>
Expand Down
2 changes: 0 additions & 2 deletions src/pages/dataSetsWip/form/ValidationFormContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import {
StandardFormSectionTitle,
} from '../../../components'
import { SectionedFormSection } from '../../../components/sectionedForm'
import { useSyncSelectedSectionWithScroll } from '../../../lib'

export const ValidationFormContents = ({ name }: { name: string }) => {
useSyncSelectedSectionWithScroll()
return (
<SectionedFormSection name={name}>
<StandardFormSectionTitle>
Expand Down

0 comments on commit 480ae89

Please sign in to comment.