added migrations for instant delivery
This commit is contained in:
15
node_modules/react-router/lib/behaviors/ScrollToTopBehavior.js
generated
vendored
Normal file
15
node_modules/react-router/lib/behaviors/ScrollToTopBehavior.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* A scroll behavior that always scrolls to the top of the page
|
||||
* after a transition.
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
var ScrollToTopBehavior = {
|
||||
|
||||
updateScrollPosition: function updateScrollPosition() {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
module.exports = ScrollToTopBehavior;
|
||||
Reference in New Issue
Block a user