mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-13 18:36:37 +08:00
chore: format
This commit is contained in:
@@ -44,10 +44,7 @@ export function ZoneEditorDialog({
|
||||
.string()
|
||||
.trim()
|
||||
.min(1, t('rootRequired'))
|
||||
.refine(
|
||||
(value) => !/[*/?#@]|:\/\//.test(value),
|
||||
t('rootInvalid'),
|
||||
),
|
||||
.refine((value) => !/[*/?#@]|:\/\//.test(value), t('rootInvalid')),
|
||||
});
|
||||
const form = useForm<Values>({
|
||||
resolver: zodResolver(schema),
|
||||
|
||||
Reference in New Issue
Block a user