fix dom elements type in intro
This commit is contained in:
@@ -45,7 +45,7 @@ interface IntroLeadProps {
|
||||
|
||||
function IntroLead(props: IntroLeadProps) {
|
||||
return (
|
||||
<StyledIntroLead>
|
||||
<StyledIntroLead as="div">
|
||||
<Title>{props.title}</Title>
|
||||
{props.children}
|
||||
</StyledIntroLead>
|
||||
|
@@ -17,9 +17,11 @@ function Cov() {
|
||||
<Base context={context}>
|
||||
<Intro>
|
||||
<IntroLead title="Measure your tests">
|
||||
When it comes to writing smart contracts, testing is one of the most important steps of the process.
|
||||
In order to quantify the robustness of your Solidity testing suite, you need to measure its code
|
||||
coverage.
|
||||
<p>
|
||||
When it comes to writing smart contracts, testing is one of the most important steps of the
|
||||
process. In order to quantify the robustness of your Solidity testing suite, you need to measure
|
||||
its code coverage.
|
||||
</p>
|
||||
</IntroLead>
|
||||
<IntroAside>
|
||||
<Code
|
||||
|
@@ -17,9 +17,11 @@ function Profiler() {
|
||||
<Base context={context}>
|
||||
<Intro>
|
||||
<IntroLead title="Headline">
|
||||
Sol-profiler gathers line-by-line gas usage for any transaction submitted through your provider.
|
||||
This will help you find unexpected inefficiencies in parts of your smart contract, and take a
|
||||
data-driven approach to optimizing it.
|
||||
<p>
|
||||
Sol-profiler gathers line-by-line gas usage for any transaction submitted through your provider.
|
||||
This will help you find unexpected inefficiencies in parts of your smart contract, and take a
|
||||
data-driven approach to optimizing it.
|
||||
</p>
|
||||
</IntroLead>
|
||||
<IntroAside>
|
||||
<Code language="javascript" diff gutterLength={6} gutter={[15, 15, undefined, 21747, 20303, 1435]}>
|
||||
|
Reference in New Issue
Block a user