diff --git a/app/components/check_answers_summary_list_card_component.rb b/app/components/check_answers_summary_list_card_component.rb deleted file mode 100644 index 0ae6afcac..000000000 --- a/app/components/check_answers_summary_list_card_component.rb +++ /dev/null @@ -1,18 +0,0 @@ -class CheckAnswersSummaryListCardComponent < ViewComponent::Base - attr_reader :questions, :case_log, :user - - def initialize(questions:, case_log:, user:) - @questions = questions - @case_log = case_log - @user = user - super - end - - def applicable_questions - questions.reject { |q| q.hidden_in_check_answers?(case_log, user) } - end - - def get_answer_label(question) - question.answer_label(case_log).presence || "You didn’t answer this question".html_safe - end -end