aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-05-31 02:49:04 +0800
committerGitHub <noreply@github.com>2018-05-31 02:49:04 +0800
commite18d61b31a22519cd7d85ecffa62925ef7adc63d (patch)
tree166746953c94bdfd62cca909553f30d96d682bd8 /packages/website/ts/index.tsx
parentb20e40dd6fd9964876a0006efe8b879a9a1d2118 (diff)
parent61cd1ae5259c03e3ae1d1711d585e2222d8cfc34 (diff)
downloaddexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar.gz
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar.bz2
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar.lz
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar.xz
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.tar.zst
dexon-sol-tools-e18d61b31a22519cd7d85ecffa62925ef7adc63d.zip
Merge pull request #635 from 0xProject/feature/website/custom-onboarding-tooltip
Remove react-joyride and some more refactoring
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 4fe81a91e..a6bfe7dd2 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -1,12 +1,9 @@
-// Polyfills
import { MuiThemeProvider } from 'material-ui/styles';
import * as React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom';
import * as injectTapEventPlugin from 'react-tap-event-plugin';
-import { createStore, Store as ReduxStore } from 'redux';
-import { devToolsEnhancer } from 'redux-devtools-extension/developmentOnly';
import { Redirecter } from 'ts/components/redirecter';
import { About } from 'ts/containers/about';
import { FAQ } from 'ts/containers/faq';
@@ -16,11 +13,12 @@ import { Wiki } from 'ts/containers/wiki';
import { createLazyComponent } from 'ts/lazy_component';
import { trackedTokenStorage } from 'ts/local_storage/tracked_token_storage';
import { tradeHistoryStorage } from 'ts/local_storage/trade_history_storage';
-import { reducer, State } from 'ts/redux/reducer';
+import { store } from 'ts/redux/store';
import { WebsiteLegacyPaths, WebsitePaths } from 'ts/types';
import { analytics } from 'ts/utils/analytics';
import { muiTheme } from 'ts/utils/mui_theme';
import { utils } from 'ts/utils/utils';
+// Polyfills
import 'whatwg-fetch';
injectTapEventPlugin();
@@ -75,7 +73,7 @@ const LazyOrderUtilsDocumentation = createLazyComponent('Documentation', async (
analytics.init();
// tslint:disable-next-line:no-floating-promises
analytics.logProviderAsync((window as any).web3);
-const store: ReduxStore<State> = createStore(reducer, devToolsEnhancer({ name: '0x Website Redux Store' }));
+
render(
<Router>
<div>