We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0bb9a commit c084500Copy full SHA for c084500
src/lib/utils/authorship.ts
@@ -53,14 +53,15 @@ export const createAuthFormWithFallback = async () => {
53
* Each strategy attempts a different approach to create a valid form
54
*
55
* See:
56
+ * https://superforms.rocks/migration-v2#supervalidate
57
* https://superforms.rocks/concepts/client-validation
58
* https://superforms.rocks/api#supervalidate-options
59
*/
60
const formCreationStrategies = [
61
{
62
name: '(Basic case) Use standard superValidate',
63
async run() {
- const form = await superValidate(null, zod(authSchema));
64
+ const form = await superValidate(zod(authSchema));
65
return { form: { ...form, message: '' } };
66
},
67
0 commit comments