diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-03-15 06:30:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 06:30:59 +0800 |
commit | 4a27a7dc581fc6c8a3d4e212ca3712c249a5b417 (patch) | |
tree | 344bd9cb3391a7a0cfb726cc7a54f4694eabd974 /packages/website/ts/pages | |
parent | aea7207b9f9865a279243889a5f9ca1638ddc739 (diff) | |
parent | 3b3d5b12bc78b13860504b9699fd5f15ae8813a1 (diff) | |
download | dexon-0x-contracts-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.gz dexon-0x-contracts-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.zst dexon-0x-contracts-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.zip |
Merge pull request #452 from 0xProject/feature/utils/console-log
Consolidate all console.log utils into @0xproject/utils
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/wiki/wiki.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx index f6cff51e4..e2dd3a68e 100644 --- a/packages/website/ts/pages/wiki/wiki.tsx +++ b/packages/website/ts/pages/wiki/wiki.tsx @@ -8,6 +8,7 @@ import { Styles, utils as sharedUtils, } from '@0xproject/react-shared'; +import { logUtils } from '@0xproject/utils'; import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; import RaisedButton from 'material-ui/RaisedButton'; @@ -213,7 +214,7 @@ export class Wiki extends React.Component<WikiProps, WikiState> { if (response.status !== 200) { // TODO: Show the user an error message when the wiki fail to load const errMsg = await response.text(); - utils.consoleLog(`Failed to load wiki: ${response.status} ${errMsg}`); + logUtils.log(`Failed to load wiki: ${response.status} ${errMsg}`); return; } const articlesBySection = await response.json(); |