Permalink
Browse files

Remove animation for simpler, snappier transitions

  • Loading branch information...
dmitrizzle committed Jun 13, 2017
1 parent 3b5374c commit facadea75921b68122065aaaf0c4524e3bc7c147
Showing with 1 addition and 3 deletions.
  1. +0 −1 package.json
  2. +1 −2 src/app/containers/App.js
@@ -28,7 +28,6 @@
"react-redux": "^5.0.5",
"react-responsive-picture": "^1.0.3",
"react-router": "3.0.2",
"react-scroll": "^1.5.2",
"react-textarea-autosize": "^5.0.3",
"redux": "^3.6.0",
"sanitize.css": "^5.0.0",
@@ -3,7 +3,6 @@ import React from "react"
import { Router, Route, browserHistory, IndexRoute } from "react-router"
import Helmet from "react-helmet"
import ReactGA from "react-ga"
import { animateScroll } from "react-scroll"

// theme
import { TheZine } from "../../themes/TheZine"
@@ -31,7 +30,7 @@ export const App = props => {
ReactGA.set({ page: window.location.pathname + window.location.search })
ReactGA.pageview(window.location.pathname + window.location.search)

animateScroll.scrollToTop({duration: 250})
window.scrollTo(0,0)
}
return (
<TheZine>

0 comments on commit facadea

Please sign in to comment.