From c2904f6143b896662554545d17b918bd899cab85 Mon Sep 17 00:00:00 2001 From: farfromrefug Date: Wed, 16 Oct 2024 14:38:56 +0200 Subject: [PATCH] chore: lint --- app/utils/svelte/ui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/svelte/ui.ts b/app/utils/svelte/ui.ts index 055cd99..3924fb4 100644 --- a/app/utils/svelte/ui.ts +++ b/app/utils/svelte/ui.ts @@ -68,7 +68,7 @@ export function scale(node, { delay = 0, duration = 400, easing = easings.easeIn })); } -export function conditionalEvent(node, { condition, event, callback }) { +export function conditionalEvent(node, { callback, condition, event }) { let toRemove; if (condition) { toRemove = callback;