From 4adace4913944a16ad98aeec31f757cc91838f1e Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 24 Jul 2021 20:47:09 -0300 Subject: [PATCH] Add support for switching between source files --- src/address/Contracts.tsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/address/Contracts.tsx b/src/address/Contracts.tsx index 1fcc81c..b0d7e47 100644 --- a/src/address/Contracts.tsx +++ b/src/address/Contracts.tsx @@ -71,15 +71,20 @@ const Contracts: React.FC = ({ checksummedAddress }) => { )} {rawMetadata !== undefined && rawMetadata !== null && (
- {Object.entries(rawMetadata.sources).map(([k]) => ( - - ))} +
+ {Object.entries(rawMetadata.sources).map(([k]) => ( + + ))} +
{selected && (