aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-03-15 06:30:59 +0800
committerGitHub <noreply@github.com>2018-03-15 06:30:59 +0800
commit4a27a7dc581fc6c8a3d4e212ca3712c249a5b417 (patch)
tree344bd9cb3391a7a0cfb726cc7a54f4694eabd974 /packages/react-docs/src/components
parentaea7207b9f9865a279243889a5f9ca1638ddc739 (diff)
parent3b3d5b12bc78b13860504b9699fd5f15ae8813a1 (diff)
downloaddexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.gz
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.bz2
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.lz
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.xz
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.zst
dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.zip
Merge pull request #452 from 0xProject/feature/utils/console-log
Consolidate all console.log utils into @0xproject/utils
Diffstat (limited to 'packages/react-docs/src/components')
-rw-r--r--packages/react-docs/src/components/custom_enum.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/custom_enum.tsx b/packages/react-docs/src/components/custom_enum.tsx
index deb33ff1d..1fe55eedc 100644
--- a/packages/react-docs/src/components/custom_enum.tsx
+++ b/packages/react-docs/src/components/custom_enum.tsx
@@ -1,3 +1,4 @@
+import { logUtils } from '@0xproject/utils';
import * as _ from 'lodash';
import * as React from 'react';
@@ -16,7 +17,7 @@ export interface CustomEnumProps {
export function CustomEnum(props: CustomEnumProps) {
const type = props.type;
if (!_.startsWith(type.defaultValue, STRING_ENUM_CODE_PREFIX)) {
- utils.consoleLog('We do not yet support `Variable` types that are not strEnums');
+ logUtils.log('We do not yet support `Variable` types that are not strEnums');
return null;
}
// Remove the prefix and postfix, leaving only the strEnum values without quotes.