Skip to content

Commit 7ace5ee

Browse files
authored
Fix typo (#2010)
1 parent f6dc5be commit 7ace5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/view_component/slotable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def set_slot(slot_name, slot_definition = nil, *args, &block)
366366
# 1. If this is a `content_area` style sub-component, we will render the
367367
# block via the `slot`
368368
#
369-
# 2. Since we've to pass block content to components when calling
369+
# 2. Since we have to pass block content to components when calling
370370
# `render`, evaluating the block here would require us to call
371371
# `view_context.capture` twice, which is slower
372372
slot.__vc_content_block = block if block

0 commit comments

Comments
 (0)