Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static initialPropsWillGet(attributes, prevAttributes) {
console.log("initialPropsWillGet() called...");
console.log(attributes);
console.log(prevAttributes);
NProgress.remove();
NProgress.start();
NProgress.set(0.0);
NProgress.set(0.3);
}
componentWillUnmount() {
NProgress.remove();
}
detached(): void {
NProgress.remove();
}
componentWillUnmount() {
NProgress.remove();
}
router.afterEach((to,from) => {
NProgress.done();
NProgress.remove();
});