Fix dispute resolution titles

This commit is contained in:
Reckless_Satoshi 2022-12-04 02:11:59 -08:00
parent 6feed1046c
commit 718210ccd8
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -602,13 +602,13 @@ const TradeBox = ({
// 17: 'Maker lost dispute'
// 18: 'Taker lost dispute'
} else if ((status == 17 && isMaker) || (status == 18 && !isMaker)) {
title = 'You have won the dispute';
title = 'You have lost the dispute';
prompt = function () {
return <DisputeLoserPrompt />;
};
bondStatus = 'settled';
} else if ((status == 17 && !isMaker) || (status == 18 && isMaker)) {
title = 'You have lost the dispute';
title = 'You have won the dispute';
prompt = function () {
return <DisputeWinnerPrompt />;
};