fix: Use isValidPhoneNumber from libphonenumber-js/max (#23353)

* import from max

* fix

---------

Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
Benny JooandAlex van Andel authored and GitHub committed 2025-10-29 08:13:41 +00:00
1 parent 268a142370
commit fdb0e5d004
14 files changed
+14 -14

No files matched your search

@@ -1,6 +1,6 @@
import { ErrorMessage } from "@hookform/error-message";
import { zodResolver } from "@hookform/resolvers/zod";
import { isValidPhoneNumber } from "libphonenumber-js";
import { isValidPhoneNumber } from "libphonenumber-js/max";
import { useEffect, useState } from "react";
import { Controller, useForm, useWatch, useFormContext } from "react-hook-form";
import { z } from "zod";