Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dombesz committed Mar 25, 2024
1 parent 2fb9791 commit c82de78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def update_header_via_turbo_stream
def update_section_via_turbo_stream(project_custom_field_section:)
update_via_turbo_stream(
component: ::Settings::ProjectCustomFieldSections::ShowComponent.new(
# Note: `first_and_last:` argument is necessary here, because we render
# Note: `first_and_last:` argument is not necessary here, because we render
# a single custom field section, and not a list of sections. Calling first?
# and last? method in the component will not result in an N+1 in this case.
project_custom_field_section:
Expand Down

0 comments on commit c82de78

Please sign in to comment.