Removing PropTypes; Adding scroll restoration, fixes #263

This commit is contained in:
James Barnsley
2019-02-10 19:51:33 +13:00
parent bcd11855f7
commit 4f27b0eb3e
85 changed files with 3622 additions and 2733 deletions

View File

@ -1,5 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import ReactGA from 'react-ga';
@ -50,7 +50,7 @@ class EditCommand extends React.Component{
// A bit hacky, but wait for a moment to allow the back navigation
// and then scroll down to our commands list
setTimeout(() => {
helpers.scrollTo("commands-setup");
helpers.scrollTo("#commands-setup");
},
10
);
@ -65,7 +65,7 @@ class EditCommand extends React.Component{
// A bit hacky, but wait for a moment to allow the back navigation
// and then scroll down to our commands list
setTimeout(() => {
helpers.scrollTo("commands-setup");
helpers.scrollTo("#commands-setup");
},
10
);