Skip to content

Commit 527bdd2

Browse files
committed
fix the other warning as well
1 parent 0174229 commit 527bdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/src/components/mainInput/Lump/sections/tool-policies/ToolPolicyItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ function ToolPolicyItem(props: ToolDropdownItemProps) {
161161
{parameters ? (
162162
<>
163163
<span className="text-xs font-bold">Arguments:</span>
164-
{parameters.map((param) => (
165-
<div className="block">
164+
{parameters.map((param, idx) => (
165+
<div key={idx} className="block">
166166
<code className="">{param[0]}</code>
167167
<span className="ml-1">{`(${param[1].type}):`}</span>
168168
<span className="ml-1 italic">{param[1].description}</span>

0 commit comments

Comments
 (0)