From 8d1e0a201cf7d8e5af1d702719680d3ccbbe37e5 Mon Sep 17 00:00:00 2001 From: Joshua Sigona Date: Mon, 9 Aug 2021 21:25:22 +0900 Subject: [PATCH] Tooltips for Dudley Co-authored-by: dudleycu --- src/TestPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index 33d93a2..dbafcfa 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -465,7 +465,7 @@ useEffect(()=>{ } }} displayFunction={(item)=>{ - return
  • {item[1].name} {item[0].name}
    {item[1].atk} {item[2].name} {item[3].map((pot,i)=><>{(i!==0)&&
    }{pot.name}: {pot.description.replace("\\n","\n")})}
  • }} + return
  • {item[1].name} {item[0].name}
    {item[1].atk} {item[2].name} {item[3].map((pot,i)=><>{(i!==0)&&
    }{pot.name}: {pot.description.split("\\n").map((text)=><>{text}
    )})}
  • }} />