Skip to content

Commit

Permalink
Harmonise FeedbackDialog preview template naming
Browse files Browse the repository at this point in the history
Makes naming of Feedback Dialog preview templates consistent with those
used by newly introduced Danger Confirmation Dialog.
  • Loading branch information
myabc committed Jan 10, 2025
1 parent f717b68 commit a1b641c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions previews/primer/open_project/feedback_dialog_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def playground(icon: :"check-circle", icon_color: :success, loading_state: false
end

# @label With additional details
def additional_details
def with_additional_details
render_with_template(locals: {})
end

Expand All @@ -52,7 +52,7 @@ def custom_icon
end

# @label With custom footer
def custom_footer
def with_custom_footer
render_with_template(locals: {})
end

Expand Down

0 comments on commit a1b641c

Please sign in to comment.