Fix zapUndos not nullable in schema
This commit is contained in:
parent
fe3724aa7d
commit
3da299bddc
|
@ -531,7 +531,7 @@ export const settingsSchema = object({
|
|||
diagnostics: boolean(),
|
||||
noReferralLinks: boolean(),
|
||||
hideIsContributor: boolean(),
|
||||
zapUndos: intValidator.required('required').min(0, 'must be greater or equal to 0')
|
||||
zapUndos: intValidator.nullable().min(0, 'must be greater or equal to 0')
|
||||
})
|
||||
|
||||
const warningMessage = 'If I logout, even accidentally, I will never be able to access my account again'
|
||||
|
|
Loading…
Reference in New Issue