Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

refactor(auth): remove unused onSuccess prop from OtpSignInForm component

Andrej09812a3b037a
diff --git a/apps/web/src/components/auth/otp-sign-in-form.tsx b/apps/web/src/components/auth/otp-sign-in-form.tsx
index 10b4ef908..84eeea7f5 100644
--- a/apps/web/src/components/auth/otp-sign-in-form.tsx
+++ b/apps/web/src/components/auth/otp-sign-in-form.tsx
@@ -31,7 +31,6 @@ type EmailFormValues = z.infer<typeof emailSchema>;
export function OtpSignInForm({
invitationId,
defaultEmail,
- onSuccess,
}: OtpSignInFormProps) {
const [isPending, setIsPending] = useState(false);
const { history } = useRouter();