scroll issue fixed
This commit is contained in:
@@ -56,7 +56,7 @@ class Main extends Component {
|
||||
this.classes = classes;
|
||||
//Styles
|
||||
}
|
||||
|
||||
|
||||
|
||||
componentWillUnmount() {
|
||||
this.sheet.detach()
|
||||
|
@@ -2,6 +2,7 @@ import React, {Component} from 'react';
|
||||
import jss from 'jss';
|
||||
import preset from 'jss-preset-default';
|
||||
import { Container } from 'semantic-ui-react';
|
||||
import history from '../../stores/functions/history';
|
||||
|
||||
/*
|
||||
* Functions import
|
||||
@@ -47,6 +48,11 @@ class Home extends Component {
|
||||
//Styles
|
||||
}
|
||||
|
||||
|
||||
componentDidMount() {
|
||||
history.push('/');
|
||||
}
|
||||
|
||||
|
||||
componentWillUnmount() {
|
||||
this.sheet.detach()
|
||||
|
Reference in New Issue
Block a user