Skip to content

Commit

Permalink
fix: change text no script found
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TrungHoang committed Jul 19, 2023
1 parent 6035754 commit 6ace812
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ const ScriptTab = () => {
</ScriptType>
) : null}
<Result>
{data?.isVerified ? <pre>{JSON.stringify(JSON.parse(data?.data), null, " ")}</pre> : "No script found"}
{data?.isVerified ? (
<pre>{JSON.stringify(JSON.parse(data?.data), null, " ")}</pre>
) : (
"Script has not been verified"
)}
</Result>
</StyledBox>
);
Expand Down

0 comments on commit 6ace812

Please sign in to comment.