diff --git a/src/components/attachment.js b/src/components/attachment.js
index aca39c7..86ca785 100644
--- a/src/components/attachment.js
+++ b/src/components/attachment.js
@@ -64,7 +64,7 @@ const Attachment = ({ URI, description, extension: _extension, previewURI, title
<>
{description}
-
+
>
) : (
description
diff --git a/src/components/case-details-card.js b/src/components/case-details-card.js
index ae5b5d4..11fe24e 100644
--- a/src/components/case-details-card.js
+++ b/src/components/case-details-card.js
@@ -25,6 +25,7 @@ import CourtDrawer from "./court-drawer";
import EvidenceTimeline from "./evidence-timeline";
import { getReadOnlyRpcUrl } from "../bootstrap/web3";
import useGetDraws from "../hooks/use-get-draws";
+import arbitrableWhitelist from "../temp/arbitrable-whitelist";
const { useDrizzle, useDrizzleState } = drizzleReactHooks;
const { toBN, soliditySha3 } = Web3.utils;
@@ -188,6 +189,11 @@ export default function CaseDetailsCard({ ID }) {
]);
const [committedVote, setCommittedVote] = useStoredCommittedVote();
+ useEffect(() => {
+ if (dispute.arbitrated && !arbitrableWhitelist[chainId]?.includes(dispute.arbitrated.toLowerCase()))
+ console.warn("Arbitrable not included in whitelist for evidence display");
+ }, [dispute.arbitrated, chainId]);
+
useEffect(() => {
let mounted = true;
@@ -664,6 +670,11 @@ export default function CaseDetailsCard({ ID }) {
{metaEvidence.metaEvidenceJSON.evidenceDisplayInterfaceURI && (