Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose4gg authored and gu-stav committed Aug 24, 2022
1 parent 8e5364b commit f30fd3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -135,13 +135,13 @@ const ModalForm = ({ onMetaChange, onSizeChange }) => {
<Select
value={get(fieldForm, ['metadata', 'step'], 1)}
name="step"
onChange={value => onMetaChange({ target: { name: 'step', value } })}
onChange={(value) => onMetaChange({ target: { name: 'step', value } })}
label={formatMessage({
id: getTrad('containers.SettingPage.editSettings.step.label'),
defaultMessage: 'Step',
})}
>
{TIME_FIELD_OPTIONS.map(value => (
{TIME_FIELD_OPTIONS.map((value) => (
<Option key={value} value={value}>
{value}
</Option>
Expand Down
Expand Up @@ -60,7 +60,7 @@ const createMetadasSchema = (schema) => {
.test(
'isDivisibleBy60',
'Step must be divisible by 60',
value => !value || value === 1 || (value * 24) % 60 === 0
(value) => !value || value === 1 || (value * 24) % 60 === 0
),
})
.noUnknown()
Expand Down

0 comments on commit f30fd3e

Please sign in to comment.