This repository was archived by the owner on Sep 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Node-DC-SSR-electrode/src Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import { Router, browserHistory } from 'react-router';
99import { createStore } from 'redux' ;
1010import { Provider } from 'react-redux' ;
1111import rootReducer from './reducers' ;
12- import injectTapEventPlugin from 'react-tap-event-plugin' ;
12+ // import injectTapEventPlugin from 'react-tap-event-plugin';
1313
14- injectTapEventPlugin ( ) ;
14+ // injectTapEventPlugin();
1515
1616window . webappStart = ( ) => {
1717 const initialState = window . __PRELOADED_STATE__ ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { renderToString } from 'react-dom/server';
44import { match , RouterContext } from 'react-router'
55import { createStore } from 'redux' ;
66import { Provider } from 'react-redux' ;
7- import injectTapEventPlugin from 'react-tap-event-plugin' ;
7+ // import injectTapEventPlugin from 'react-tap-event-plugin';
88import { ArgumentParser } from 'argparse' ;
99import format from 'python-format' ;
1010import { routes } from '../../client/routes' ;
@@ -70,7 +70,7 @@ user-agent: ${args.userAgent}`);
7070 } else if ( redirectLocation ) {
7171 console . log ( 'Error: 302' ) ;
7272 } else if ( renderProps ) {
73- injectTapEventPlugin ( ) ;
73+ // injectTapEventPlugin();
7474 global . navigator = global . navigator || { } ;
7575 global . navigator . userAgent = args . userAgent ;
7676
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ReduxRouterEngine from 'electrode-redux-router-engine';
66import { routes } from '../../client/routes' ;
77import { createStore } from 'redux' ;
88import rootReducer from '../../client/reducers' ;
9- import injectTapEventPlugin from 'react-tap-event-plugin' ;
9+ // import injectTapEventPlugin from 'react-tap-event-plugin';
1010import { generateProduct } from '../data/generator' ;
1111import { config } from 'electrode-confippet' ;
1212
@@ -42,7 +42,7 @@ module.exports = (req) => {
4242
4343 const app = req . server && req . server . app || req . app ;
4444 if ( ! app . routesEngine ) {
45- injectTapEventPlugin ( ) ;
45+ // injectTapEventPlugin();
4646 app . routesEngine = new ReduxRouterEngine ( { routes, createReduxStore} ) ;
4747 }
4848
You can’t perform that action at this time.
0 commit comments