fix(auth): add missing onRegisterChange prop to test

This commit is contained in:
Kirill
2026-05-22 16:04:50 +05:00
parent c903db439d
commit b38b24f158
@@ -13,7 +13,7 @@ function renderForm(isRegister: boolean) {
return render(
<QueryClientProvider client={qc}>
<MemoryRouter>
<AuthPasswordForm isRegister={isRegister} onSuccess={onSuccess} />
<AuthPasswordForm isRegister={isRegister} onRegisterChange={vi.fn()} onSuccess={onSuccess} />
</MemoryRouter>
</QueryClientProvider>,
)