Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Removed ZOD resolver

Marcus Farrell53cbdd6a388f
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
index c38878bc95..94654db7b1 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
@@ -9,13 +9,7 @@ import { z } from "zod";
// Allow the user to update their existing password
export const UpdatePassword = () => {
-import { zodResolver } from "@hookform/resolvers/zod";
-
-// Allow the user to update their existing password
-export const UpdatePassword = () => {
- const form = useForm<z.infer<typeof updatePasswordSchema>>({
- resolver: zodResolver(updatePasswordSchema),
- });
+ const form = useForm<z.infer<typeof updatePasswordSchema>>();
const {
register,
handleSubmit,