remove unused code

This commit is contained in:
afc163 2016-07-13 14:16:15 +08:00
parent 4b29e40089
commit ce51768fac

View File

@ -17,13 +17,6 @@ export function collect(nextProps, callback) {
}
export default class Home extends React.Component {
componentWillMount() {
if (location.hash) {
const pathname = location.hash.replace(/^#/, '').replace('?scrollTo=', '#');
location.href = pathname;
}
}
// To store style which is only for Home and has conflicts with others.
getStyle() {
return `