Skip to content

Commit

Permalink
fix: add adblock mention in refuse to arbitrate text
Browse files Browse the repository at this point in the history
  • Loading branch information
alcercu committed Jan 22, 2025
1 parent 3b17d6c commit aed1a1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bootstrap/dataloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const funcs = {
}
return {
description:
"The data for this case is not formatted correctly or has been tampered since the time of its submission. Please refresh the page and refuse to arbitrate if the problem persists.",
"In case you have an AdBlock enabled, please disable it and refresh the page. It maybe preventing the correct working of the page. If that's not the case, the data for this case is not formatted correctly or has been tampered since the time of its submission. Please refresh the page and refuse to arbitrate if the problem persists.",
title: "Invalid or tampered case data, refuse to arbitrate.",
};
},
Expand Down
9 changes: 6 additions & 3 deletions src/components/case-details-card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -780,11 +780,14 @@ export default function CaseDetailsCard({ ID }) {
)}
</div>
)}
{showRefuse && dispute && Number(dispute.period) < "3" && !votesData.voted && (
{showRefuse && dispute && Number(dispute.period) < "3" && !votesData.voted && votesData.drawnInCurrentRound && (
<>
<div style={{ marginTop: "32px" }}>
If the dispute is failing to load and appears to be broken it is advised to refuse to arbitrate. Please cast
your vote using button below.
If the dispute is failing to load and appears to be broken, in case you have an AdBlock enabled please
disable it and refresh the page as it maybe preventing the correct working of the page. If that is not the
case, the data for this case is not formatted correctly or has been tampered since the time of its
submission. Please refresh the page, if the problem persists it is advised to refuse to arbitrate. Please
cast your vote using button below.
</div>
<Button
style={{ color: "#4d00b4", marginTop: "16px", float: "right" }}
Expand Down

0 comments on commit aed1a1c

Please sign in to comment.