Skip to content

Commit

Permalink
[Fix] Remove clash of functions
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Dec 8, 2021
1 parent 992c2d2 commit 4ff8f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Question.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default class Question extends React.Component {
{collapsible && this._renderCollapseToggle()}
{label}
</h6>
{this.renderIcons()}
{this.renderQuestionIcons()}
{this.renderHeaderExtension()}
</Accordion.Toggle>
{collapsible ? <Accordion.Collapse>{cardBody}</Accordion.Collapse> : { cardBody }}
Expand All @@ -192,7 +192,7 @@ export default class Question extends React.Component {
return content;
}

renderIcons() {
renderQuestionIcons() {
const question = this.props.question;
const options = this.context.options;
return Question.renderIcons(question, options, this.onCommentChange, this.state.showIcon);
Expand Down

0 comments on commit 4ff8f8e

Please sign in to comment.