diff --git a/src/features/home/components/MangaDexImportDialog.tsx b/src/features/home/components/MangaDexImportDialog.tsx index 1cf19f3..cbec502 100644 --- a/src/features/home/components/MangaDexImportDialog.tsx +++ b/src/features/home/components/MangaDexImportDialog.tsx @@ -35,18 +35,7 @@ export const MangaDexImportDialog = ({ const formSchema = z .object({ value: z.string().min(1, "Please enter a MangaDex ID or URL."), - }) - .refine( - (data: { value: string }) => - data.value.length > 36 && - !data.value.match(/title\/([0-9a-fA-F-]{36})/) && - data.value.length !== 36, - { - message: "Invalid MangaDex ID or URL", - path: ["value"], - abort: true, - }, - ); + }); const form = useForm>({ resolver: zodResolver(formSchema),