diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-14 09:06:02 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-14 09:13:48 +0800 |
commit | c8a8b851d8e0622559f71843a206a0e6e601cd83 (patch) | |
tree | 143e238a68005fdb0e0d82c6750ea890fec4021c /packages/website/ts/pages | |
parent | c2f8858aabad2355e09ba65e900202b7c4edec5e (diff) | |
download | dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.gz dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.bz2 dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.lz dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.xz dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.zst dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.zip |
Consolidate all console.log into the @0xproject/utils package
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(); |