Skip to content

Commit

Permalink
タグのReactコンポーネントにpropsを渡す際の不要な文字列変換メソッドの使用を止める
Browse files Browse the repository at this point in the history
  • Loading branch information
junohm410 committed Mar 6, 2024
1 parent 7d8f268 commit 80a0a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/questions/_question_header.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ header.page-content-header

.page-content-header__row
.page-content-header__tags
= react_component('Tags/Tags', { tagsInitialValue: question.tag_list.join(',').to_s, tagsParamName: 'question[tag_list]', tagsInputId: 'question_tag_list', tagsType: 'Question', tagsTypeId: question.id.to_s })
= react_component('Tags/Tags', { tagsInitialValue: question.tag_list.join(','), tagsParamName: 'question[tag_list]', tagsInputId: 'question_tag_list', tagsType: 'Question', tagsTypeId: question.id.to_s })

0 comments on commit 80a0a5c

Please sign in to comment.