diff options
author | Megan Pearson <megan.e.pearson@gmail.com> | 2018-10-25 20:12:01 +0800 |
---|---|---|
committer | Megan Pearson <megan.e.pearson@gmail.com> | 2018-10-25 20:12:01 +0800 |
commit | 43b792f307118e09a683f3f76f0e0f22ee2d898d (patch) | |
tree | 8e61a762d3bb66dd9c3d6b4950fb2f2abb789319 | |
parent | 43e55a963bef2a2e4740ce27d456927b020b71f2 (diff) | |
download | dexon-sol-tools-43b792f307118e09a683f3f76f0e0f22ee2d898d.tar.gz dexon-sol-tools-43b792f307118e09a683f3f76f0e0f22ee2d898d.tar.zst dexon-sol-tools-43b792f307118e09a683f3f76f0e0f22ee2d898d.zip |
Fixed typos
-rw-r--r-- | packages/dev-tools-pages/ts/components/Trace.tsx | 10 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/context/profiler.tsx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/dev-tools-pages/ts/components/Trace.tsx b/packages/dev-tools-pages/ts/components/Trace.tsx index 62994a810..4b34ff145 100644 --- a/packages/dev-tools-pages/ts/components/Trace.tsx +++ b/packages/dev-tools-pages/ts/components/Trace.tsx @@ -80,7 +80,7 @@ function Trace(props: Props) { <Gamma as="h3">Time-saving</Gamma> <p> Turning "Your code failed somewhere, good luck debugging it" into "Your code failed - on linen X of contract Y", it drastically improves the developer experience. + on line X of contract Y", it drastically improves the developer experience. </p> </Copy> <Icon as={TimeSaving} /> @@ -94,8 +94,8 @@ function Trace(props: Props) { const StyledSection = styled.section < - TraceProps > - ` + TraceProps > + ` max-width: 90rem; margin: 0 auto; background: linear-gradient(to right, ${colors.black} 50%, ${props => props.background} 50%); @@ -126,8 +126,8 @@ const Wrapper = styled(Container)` const Block = styled.div < - TraceProps > - ` + TraceProps > + ` width: 50%; background: ${props => (props.background ? props.background : colors.black)}; color: ${props => (props.background ? 'inherit' : colors.white)}; diff --git a/packages/dev-tools-pages/ts/context/profiler.tsx b/packages/dev-tools-pages/ts/context/profiler.tsx index 891c2f0bb..59f2f413a 100644 --- a/packages/dev-tools-pages/ts/context/profiler.tsx +++ b/packages/dev-tools-pages/ts/context/profiler.tsx @@ -4,7 +4,7 @@ export default { title: 'sol-profiler', name: 'profiler', subtitle: 'Gas profiling for Solidity', - tagline: "Implement data-guided optimizations by profiling your contrat's gas usage", + tagline: "Implement data-guided optimizations by profiling your contract's gas usage", icon: Icon, colors: { main: '#FF7144', |