aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-25 20:14:47 +0800
committerAugust Skare <post@augustskare.no>2018-10-25 20:15:47 +0800
commitfb24a18f3faa99736562e363e68fe077f56d760a (patch)
tree17577b5b1d78fd4b19db4b103e8500ef9cf189f1
parent1899493ca89d9d357d7a7641eabe2b49e9e31c32 (diff)
downloaddexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar.gz
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar.bz2
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar.lz
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar.xz
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.tar.zst
dexon-sol-tools-fb24a18f3faa99736562e363e68fe077f56d760a.zip
fix dom elements type in intro
-rw-r--r--packages/dev-tools-pages/ts/components/Intro.tsx2
-rw-r--r--packages/dev-tools-pages/ts/pages/Cov.tsx8
-rw-r--r--packages/dev-tools-pages/ts/pages/Profiler.tsx8
3 files changed, 11 insertions, 7 deletions
diff --git a/packages/dev-tools-pages/ts/components/Intro.tsx b/packages/dev-tools-pages/ts/components/Intro.tsx
index 9ab04cbf7..86d29e36d 100644
--- a/packages/dev-tools-pages/ts/components/Intro.tsx
+++ b/packages/dev-tools-pages/ts/components/Intro.tsx
@@ -45,7 +45,7 @@ interface IntroLeadProps {
function IntroLead(props: IntroLeadProps) {
return (
- <StyledIntroLead>
+ <StyledIntroLead as="div">
<Title>{props.title}</Title>
{props.children}
</StyledIntroLead>
diff --git a/packages/dev-tools-pages/ts/pages/Cov.tsx b/packages/dev-tools-pages/ts/pages/Cov.tsx
index 679cf6f62..743b990df 100644
--- a/packages/dev-tools-pages/ts/pages/Cov.tsx
+++ b/packages/dev-tools-pages/ts/pages/Cov.tsx
@@ -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
diff --git a/packages/dev-tools-pages/ts/pages/Profiler.tsx b/packages/dev-tools-pages/ts/pages/Profiler.tsx
index f147d9d5a..b8e78264e 100644
--- a/packages/dev-tools-pages/ts/pages/Profiler.tsx
+++ b/packages/dev-tools-pages/ts/pages/Profiler.tsx
@@ -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]}>