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 a257932 commit f39547cCopy full SHA for f39547c
1 file changed
lib/phlex/rails/sgml.rb
@@ -136,6 +136,11 @@ def set_original_view_context(view_context)
136
# no-op (see https://github.com/ViewComponent/view_component/issues/2207)
137
end
138
139
+ def vanish(...)
140
+ # Quick fix because we need rails to handle the capture now
141
+ capture(...)
142
+ end
143
+
144
def capture(*args, &block)
145
if capture_context
146
return "" unless block
0 commit comments