Skip to content

Commit

Permalink
remove private paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Sep 27, 2024
1 parent 290cbf2 commit 457e432
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function ContractAttribute({ attribute, value }: { attribute: string, value: any

export function ContractDetails({ contractLink, view }: GenericViewProps) {
const publicTypeID = view.publicLinkedType.typeID ? view.publicLinkedType.typeID : view.publicLinkedType.type.typeID
const privateTypeID = view.privateLinkedType.typeID ? view.privateLinkedType.typeID : view.privateLinkedType.type.typeID
return (
<>
<div className="flex flex-row justify-between pt-16 pb-8">
Expand All @@ -49,9 +48,7 @@ export function ContractDetails({ contractLink, view }: GenericViewProps) {
<ContractAttribute attribute="Address" value={view.address} />
<ContractAttribute attribute="Storage path" value={`/storage/${view.storagePath.identifier}`} />
<ContractAttribute attribute="Public path" value={`/public/${view.publicPath.identifier}`} />
<ContractAttribute attribute="Private path" value={`/private/${view.privatePath.identifier}`} />
<ContractAttribute attribute="Public Type" value={convertToReadableType(publicTypeID)} />
<ContractAttribute attribute="Private Type" value={convertToReadableType(privateTypeID)} />
</div>

</>
Expand Down

0 comments on commit 457e432

Please sign in to comment.