Skip to content

Commit

Permalink
refactor: correct 'FormatField' component name
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Aug 26, 2024
1 parent a5193f1 commit 4024e59
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useForm } from 'react-hook-form';

import { usePreferences } from '../../context/PreferencesContext';
import { ColorPickerDropdownController } from '../../elements/ColorPickerDropdownController';
import { fieldLabelStyle } from '../../elements/FomratField';
import { fieldLabelStyle } from '../../elements/FormatField';
import Label from '../../elements/Label';
import { NumberInput2Controller } from '../../elements/NumberInput2Controller';
import useNucleus from '../../hooks/useNucleus';
Expand Down
2 changes: 1 addition & 1 deletion src/component/panels/RangesPanel/RangesPreferences.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { forwardRef, useEffect, useMemo } from 'react';
import { useForm } from 'react-hook-form';

import { usePreferences } from '../../context/PreferencesContext';
import { fieldLabelStyle } from '../../elements/FomratField';
import { fieldLabelStyle } from '../../elements/FormatField';
import Label from '../../elements/Label';
import { NumberInput2Controller } from '../../elements/NumberInput2Controller';
import useNucleus from '../../hooks/useNucleus';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ControllerProps, FieldValues } from 'react-hook-form';

import { FormatField, FormatFieldProps } from '../../../elements/FomratField';
import { FormatField, FormatFieldProps } from '../../../elements/FormatField';

import { NucleusGroup, NucleusGroupProps } from './NucleusGroup';

Expand Down

0 comments on commit 4024e59

Please sign in to comment.