aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/documentation/custom_enum.tsx
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2018-01-03 18:39:08 +0800
committerGitHub <noreply@github.com>2018-01-03 18:39:08 +0800
commitd5e0da0eb64ab25cb8e03a61040702cf8e02391a (patch)
treea7fde03873f3c1b8689d3991edbb362f8022e5f0 /packages/website/ts/pages/documentation/custom_enum.tsx
parentf684cc371104b594358fb8cd274e453c81f48881 (diff)
parente744e4cd989bd3ae1070c59f7baa8097f18b8b06 (diff)
downloaddexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.gz
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.bz2
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.lz
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.xz
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.tar.zst
dexon-sol-tools-d5e0da0eb64ab25cb8e03a61040702cf8e02391a.zip
Merge pull request #291 from 0xProject/feature/prettier
Use prettier
Diffstat (limited to 'packages/website/ts/pages/documentation/custom_enum.tsx')
-rw-r--r--packages/website/ts/pages/documentation/custom_enum.tsx9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/website/ts/pages/documentation/custom_enum.tsx b/packages/website/ts/pages/documentation/custom_enum.tsx
index 7dced9b60..8d50a2f52 100644
--- a/packages/website/ts/pages/documentation/custom_enum.tsx
+++ b/packages/website/ts/pages/documentation/custom_enum.tsx
@@ -1,7 +1,7 @@
import * as _ from 'lodash';
import * as React from 'react';
-import {CustomType} from 'ts/types';
-import {utils} from 'ts/utils/utils';
+import { CustomType } from 'ts/types';
+import { utils } from 'ts/utils/utils';
const STRING_ENUM_CODE_PREFIX = ' strEnum(';
@@ -23,8 +23,9 @@ export function CustomEnum(props: CustomEnumProps) {
return (
<span>
{`{`}
- {'\t'}{enumValues}
- <br />
+ {'\t'}
+ {enumValues}
+ <br />
{`}`}
</span>
);