Skip to content

Commit

Permalink
(fix bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
saparagus committed Apr 27, 2024
1 parent 0987850 commit 7fa6632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/ChatBot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const Chatbot = () => {
<li dangerouslySetInnerHTML={formatGreenFeedbackText(hint)} />
{/*show ONLY ONE (i) if either references or explanation exists*/
(ref && showReferenceIcon(hint)
|| explanation && checkStringForExplanation(hint))
|| explanation && checkHintForExplanation(hint))
&& (<Icon name="info circle" style={info_circle_style} />)}
</span>
))}
Expand Down Expand Up @@ -327,7 +327,7 @@ const Chatbot = () => {
<span key={index} className="flex PreHints nonZERO">
<li dangerouslySetInnerHTML={formatGreenFeedbackText(hint)} />
{(ref && showReferenceIcon(hint)
|| explanation && checkStringForExplanation(hint))
|| explanation && checkHintForExplanation(hint))
&& (<Icon name="info circle" style={info_circle_style} />)}
</span>
))}
Expand Down

0 comments on commit 7fa6632

Please sign in to comment.