Skip to content

Commit

Permalink
fix: component was returned a string
Browse files Browse the repository at this point in the history
  • Loading branch information
viennguyen2-tiki committed Aug 10, 2023
1 parent 4f2be82 commit 26efbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/accounts/tabs/ContractCodeTab/ContructorArgs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ${decodeArgsType.map(
return result
}, [abi, constructorArgument])

if (!abi || !constructorArgument) return ''
if (!abi || !constructorArgument) return null
return (
<div className="margin-bottom-xl">
<AutoLanguageView code={code} filename="Constructor Arguments" />
Expand Down

0 comments on commit 26efbc6

Please sign in to comment.