diff options
author | Megan Pearson <megan.e.pearson@gmail.com> | 2018-10-25 20:04:50 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-10-25 20:04:50 +0800 |
commit | b8441265167b719db3db940b76fb4b3b0e0edecd (patch) | |
tree | 98ac030df499cbb91081deec8b12a8a836813ee1 /packages/dev-tools-pages/ts/pages | |
parent | 43e55a963bef2a2e4740ce27d456927b020b71f2 (diff) | |
download | dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar.gz dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar.bz2 dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar.lz dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar.xz dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.tar.zst dexon-sol-tools-b8441265167b719db3db940b76fb4b3b0e0edecd.zip |
Updates intro component (#10)
* Updates intro component
* Remove unused Inner
* Use Breakout component in Intro
Diffstat (limited to 'packages/dev-tools-pages/ts/pages')
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Cov.tsx | 4 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Profiler.tsx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/dev-tools-pages/ts/pages/Cov.tsx b/packages/dev-tools-pages/ts/pages/Cov.tsx index 197ff174d..679cf6f62 100644 --- a/packages/dev-tools-pages/ts/pages/Cov.tsx +++ b/packages/dev-tools-pages/ts/pages/Cov.tsx @@ -15,8 +15,8 @@ import { Intro, IntroLead, IntroAside } from 'ts/components/Intro'; function Cov() { return ( <Base context={context}> - <Intro title="Measure your tests"> - <IntroLead> + <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. diff --git a/packages/dev-tools-pages/ts/pages/Profiler.tsx b/packages/dev-tools-pages/ts/pages/Profiler.tsx index 462789a16..f147d9d5a 100644 --- a/packages/dev-tools-pages/ts/pages/Profiler.tsx +++ b/packages/dev-tools-pages/ts/pages/Profiler.tsx @@ -5,18 +5,18 @@ import context from 'ts/context/profiler'; import Base from 'ts/components/Base'; import Content from 'ts/components/Content'; import ContentBlock from 'ts/components/ContentBlock'; +import Breakout from 'ts/components/Breakout'; import { Tabs, TabBlock } from 'ts/components/Tabs'; import Code from 'ts/components/Code'; import InlineCode from 'ts/components/InlineCode'; import { List, ListItem } from 'ts/components/List'; -import Breakout from 'ts/components/Breakout'; import { Intro, IntroLead, IntroAside } from 'ts/components/Intro'; function Profiler() { return ( <Base context={context}> - <Intro title="Headline"> - <IntroLead> + <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. |