Skip to content

Commit 00e1919

Browse files
[autofix.ci] apply automated fixes
1 parent 5c9f3ab commit 00e1919

File tree

1 file changed

+2
-3
lines changed
  • packages/runtime-dom/src/directives

1 file changed

+2
-3
lines changed

packages/runtime-dom/src/directives/vOn.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ const modifierGuards: Record<
3535
export const withModifiers = <
3636
T extends (event: Event, ...args: unknown[]) => any
3737
>(
38-
fn: T & { _withMods?: { [key: string]: T } } ,
38+
fn: T & { _withMods?: { [key: string]: T } },
3939
modifiers: string[]
4040
) => {
41-
42-
if(!fn) {
41+
if (!fn) {
4342
return
4443
}
4544
const cache = fn._withMods || (fn._withMods = {})

0 commit comments

Comments
 (0)