Skip to content

Commit

Permalink
fix a unique key error for persuasion
Browse files Browse the repository at this point in the history
  • Loading branch information
rosannamilner committed Aug 21, 2024
1 parent a66fdfd commit 24aa84e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export default function AssistantTextSpanClassification({
if (bgLuminance > 0.7) techniqueTextColour = "black";
techniqueContent.push(
<div
key={persuasionTechnique}
style={{
background: rgbToString(techniqueBackgroundRgb),
color: rgbToString(techniqueTextColour),
Expand Down

0 comments on commit 24aa84e

Please sign in to comment.