Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { Route, Switch, HashRouter } from 'react-router-dom';
import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux';
import RPCProvider from './components/RPCProvider';
import MessageBoxModal from './components/modals';
import withTracker from './components/withTracker';
import reducer from './reducers';
import env from './env.json';
import IcosList from './containers/IcosList';
import InnerIcoPage from './containers/InnerIcoPage';
import ICOStatsPage from './containers/ICOStatsPage';
import './assets/css/index.css';
import { IframeCssTweaker } from './components/IframeCssTweaker';
ReactPixel.init(env.fbPixelId);
ReactPixel.pageView();
const root = document.getElementById('root');
const render = (store) => {
ReactDOM.render(
export const logPixelPageView = () => {
ReactPixel.pageView();
}
const trackPage = page => {
GoogleAnalytics.set({
page,
...options,
})
GoogleAnalytics.pageview(page)
ReactPixel.pageView()
}