We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 870620f commit a8a4377Copy full SHA for a8a4377
src/pages/factory/kleros-params.js
@@ -150,7 +150,7 @@ const KlerosParams = ({
150
.padStart(64, '0')}`
151
152
setArbitratorExtraData(newArbitratorExtraData)
153
- setCourtID(newCourtID)
+ setCourtID(Number(newCourtID))
154
},
155
[numberOfJurors, setArbitratorExtraData]
156
)
@@ -187,7 +187,7 @@ const KlerosParams = ({
187
labelInValue
188
value={
189
courts && courts.length > 0 && typeof courtID === 'number'
190
- ? courts[courtID]
+ ? courts.find(court => courtID === court.courtID)
191
: { key: 0, label: 'General Court' }
192
}
193
>
0 commit comments