aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/pages/Compiler.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-22 19:18:51 +0800
committerAugust Skare <post@augustskare.no>2018-10-22 19:27:49 +0800
commit8cf720986eb464a39e634ca59c4c3b20b3cd368d (patch)
tree03290fd36ab0ac6f6252141abaeaf930a6a5a3f1 /packages/dev-tools-pages/ts/pages/Compiler.tsx
parent97c54f84f0b0f3daf41773690cc79296c983b346 (diff)
downloaddexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar.gz
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar.bz2
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar.lz
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar.xz
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.tar.zst
dexon-sol-tools-8cf720986eb464a39e634ca59c4c3b20b3cd368d.zip
rename Main to Content
Diffstat (limited to 'packages/dev-tools-pages/ts/pages/Compiler.tsx')
-rw-r--r--packages/dev-tools-pages/ts/pages/Compiler.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/dev-tools-pages/ts/pages/Compiler.tsx b/packages/dev-tools-pages/ts/pages/Compiler.tsx
index c6e67021e..8e2c7f058 100644
--- a/packages/dev-tools-pages/ts/pages/Compiler.tsx
+++ b/packages/dev-tools-pages/ts/pages/Compiler.tsx
@@ -3,7 +3,7 @@ import { render, hydrate } from 'react-dom';
import context from 'ts/context/compiler';
import Base from 'ts/components/Base';
-import Main from 'ts/components/Main';
+import Content from 'ts/components/Content';
import ContentBlock from 'ts/components/ContentBlock';
import { Tabs, TabBlock } from 'ts/components/Tabs';
import Code from 'ts/components/Code';
@@ -15,7 +15,7 @@ function Compiler() {
return (
<Base context={context}>
<CompilerComponent />
- <Main>
+ <Content>
<ContentBlock title="Required steps">
<List items={['Step 1', 'Step 2']} />
</ContentBlock>
@@ -44,8 +44,8 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi
<TabBlock title="Custom">Custom</TabBlock>
</Tabs>
</ContentBlock>
- </Main>
- <Main
+ </Content>
+ <Content
title="Artifacts"
subtitle="Sol compiler uses solidity standard JSON output format for the artifacts. This way, you can define which parts of the artifact you need."
dark
@@ -56,7 +56,7 @@ const artifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, contractsDi
define which parts of the artifact you need.
</p>
</ContentBlock>
- </Main>
+ </Content>
</Base>
);
}