mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-12 09:17:41 +03:00
parent
6c43f75bcb
commit
37d49c48bb
@ -57,6 +57,7 @@ const SelectCard = memo(({
|
||||
{...cardActionAreaProps}
|
||||
className={clsx(classes.actionArea, cardActionAreaProps?.className)}
|
||||
onClick={handleClick}
|
||||
data-cy={(dataCy && isSelected) && `${dataCy}-card-selected`}
|
||||
>
|
||||
{children}
|
||||
</CardActionArea>
|
||||
|
@ -61,7 +61,7 @@ const Settings = () => {
|
||||
const { handleSubmit, setError, reset, formState, ...methods } = useForm({
|
||||
reValidateMode: 'onSubmit',
|
||||
defaultValues: settings,
|
||||
resolver: () => yupResolver(FORM_SCHEMA)
|
||||
resolver: yupResolver(FORM_SCHEMA)
|
||||
})
|
||||
|
||||
React.useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user