We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a505d24 + 2a714a6 commit 4ba7b94Copy full SHA for 4ba7b94
web/src/pages/Resolver/Landing/index.tsx
@@ -86,7 +86,10 @@ const Landing: React.FC = () => {
86
if (isUndefined(populatedDispute) || isUndefined(roundData) || isInvalidDispute) return;
87
88
const answers = populatedDispute.answers.reduce<Answer[]>((acc, val) => {
89
- acc.push({ ...val, id: parseInt(val.id, 16).toString() });
+ const id = parseInt(val.id, 16);
90
+ // don't duplicate RFA option
91
+ if (id === 0) return acc;
92
+ acc.push({ ...val, id: id.toString() });
93
return acc;
94
}, []);
95
0 commit comments