mirror of
https://github.com/dzeiocom/components.git
synced 2025-05-07 01:47:52 +00:00
Fixed loader
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
11dd18d8eb
commit
ba0e70053b
@ -48,8 +48,8 @@ export default class Loader extends React.Component<Props, State> {
|
|||||||
|
|
||||||
public componentWillUnmount() {
|
public componentWillUnmount() {
|
||||||
if (this.props.auto) {
|
if (this.props.auto) {
|
||||||
Router.events.off('routechangeComplete', this.routeChangeComplete)
|
Router.events.off('routeChangeComplete', this.routeChangeComplete)
|
||||||
Router.events.off('routechangeStart', this.routeChangeStart)
|
Router.events.off('routeChangeStart', this.routeChangeStart)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user