Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
this.foundation = new MDCNotchedOutlineFoundation(this.adapter);
this.foundation.init();
this.notch();
if (this.label) {
this.label.style.transitionDuration = '0s';
this.addClass(cssClasses.OUTLINE_UPGRADED);
requestAnimationFrame(() => {
if (this.label) {
this.label.style.transitionDuration = '';
}
});
}
}