From 6f7f8f36bcd451840a03ffd37271b0e35c188e4c Mon Sep 17 00:00:00 2001 From: Andrei Radu <47434163+AndreiMVP@users.noreply.github.com> Date: Wed, 27 Sep 2023 18:31:46 +0300 Subject: [PATCH 1/4] chore: sandbox and arbitrable whitelist --- src/components/attachment.js | 2 +- src/components/case-details-card.js | 6 +++ src/temp/arbitrable-whitelist.js | 77 +++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 src/temp/arbitrable-whitelist.js 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..ff2dce1 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; @@ -664,6 +665,11 @@ export default function CaseDetailsCard({ ID }) { {metaEvidence.metaEvidenceJSON.evidenceDisplayInterfaceURI && (