Skip to content

Commit

Permalink
Merge pull request #175 from AstraProtocol/fix/component-return-a-string
Browse files Browse the repository at this point in the history
fix: component was returned a string
  • Loading branch information
viennguyen2-tiki authored Aug 10, 2023
2 parents 4f2be82 + 26efbc6 commit 795ec32
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 795ec32

Please sign in to comment.