Skip to content

Commit

Permalink
refactor: update form imports
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Mar 11, 2024
1 parent d84a880 commit 7d7bfd4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/dm-core-plugins/src/form/components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ import { Button, EdsProvider, Icon } from '@equinor/eds-core-react'
import { undo } from '@equinor/eds-icons'
import { FormProvider, useForm, useFormContext } from 'react-hook-form'
import { RegistryProvider } from '../context/RegistryContext'
import { getCanOpenOrExpand } from '../templates/shared/utils'
import { TFormConfig, TFormProps, TUiAttributeObject } from '../types'
import { isPrimitiveType } from '../utils/isPrimitiveType'
import { getCanOpenOrExpand, isPrimitiveType } from '../utils'
import { AttributeList } from './AttributeList'

const FORM_DEFAULT_MAX_WIDTH = '650px'
Expand Down Expand Up @@ -183,7 +182,6 @@ export const Form = (props: TFormProps) => {
>
<Button
onClick={handleCustomReset}
type='button'
disabled={disabled}
tooltip={'Revert changes'}
variant={'outlined'}
Expand Down

0 comments on commit 7d7bfd4

Please sign in to comment.