Skip to content

Commit

Permalink
remove Type field from package objects (MystenLabs#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Cannefax authored May 11, 2022
1 parent 541fdce commit d710f34
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions explorer/client/src/pages/object-result/ObjectLoaded.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,12 @@ function ObjectLoaded({ data }: { data: DataType }) {
)}
</div>
)}
<div>
<div>Type</div>
{data.objType !== 'Move Package' && (
<div>
{data.objType === 'Move Package'
? 'Library'
: prepObjTypeValue(data.objType)}
<div>Type</div>
<div>{prepObjTypeValue(data.objType)}</div>
</div>
</div>
)}
{data.objType !== 'Move Package' && (
<div>
<div>Owner</div>
Expand Down

0 comments on commit d710f34

Please sign in to comment.