From 20337319212896c484ac0f8d3dfbac3b8d26f089 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 30 Aug 2024 20:04:13 -0700 Subject: typescript --- src/lib/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/handler.ts') diff --git a/src/lib/handler.ts b/src/lib/handler.ts index 05e484ec..03795ad9 100644 --- a/src/lib/handler.ts +++ b/src/lib/handler.ts @@ -2,7 +2,7 @@ import { goto } from "$app/navigation"; import { applyAction } from "$app/forms"; export default (submitting) => - ({ formElement, formData, action, cancel }) => { + () => { submitting = true; return async ({ result }) => { if (result.type === "redirect") { -- cgit v1.2.3