Compare commits
No commits in common. "5d87efb88e1e4096af7282b23d02f539b04cfb4a" and "313f3cdfcfb2177930a38c11afad104f257972e0" have entirely different histories.
5d87efb88e
...
313f3cdfcf
@ -38,9 +38,8 @@ export const MangaDexImportDialog = ({
|
||||
})
|
||||
.refine(
|
||||
(data: { value: string }) =>
|
||||
data.value.length > 36 &&
|
||||
!data.value.match(/title\/([0-9a-fA-F-]{36})/) &&
|
||||
data.value.length !== 36,
|
||||
(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"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user