Skip to content

Commit d5dba9f

Browse files
remove unnecessary argument from base component doc & test
1 parent 013534e commit d5dba9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/concepts/component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ class Pages::ExamplePage < Page::Cell::Page
861861
def response
862862
components {
863863
div id: "div-on-page" do
864-
custom_static_component "foo from page"
864+
custom_static_component
865865
end
866866
}
867867
end

spec/usage/base/component_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ class ExamplePage < Page::Cell::Page
846846
def response
847847
components {
848848
div id: "div-on-page" do
849-
static_component "foo from page"
849+
static_component
850850
end
851851
}
852852
end

0 commit comments

Comments
 (0)