Skip to content

Commit 4dba465

Browse files
committed
Fix failing test
1 parent fa51b44 commit 4dba465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/live_view_native/swiftui/rules_parser/post_processors.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ defmodule LiveViewNative.SwiftUI.RulesParser.PostProcessors do
151151
def event_to_ast(rest, [name], context, {line, _}, _byte_offset) do
152152
annotations = context_to_annotation(context.context, line)
153153

154-
{rest, [{:__event__, annotations, [name, []]}], context}
154+
{rest, [{:__event__, annotations, [name]}], context}
155155
end
156156

157157
def event_to_ast(rest, [opts, name], context, {line, _}, _byte_offset) do

0 commit comments

Comments
 (0)