Remove redundant semicolons

This commit is contained in:
Leonid Logvinov 2019-01-09 10:21:58 +01:00
parent 82f29c395a
commit fd034cc1e4
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState>
private readonly _handleResize = () => { private readonly _handleResize = () => {
clearTimeout(this._timeout); clearTimeout(this._timeout);
this._timeout = window.setTimeout(this._updateAnimationSize, 50); this._timeout = window.setTimeout(this._updateAnimationSize, 50);
}; }
private readonly _updateAnimationSize = () => { private readonly _updateAnimationSize = () => {
const windowWidth = window.innerWidth; const windowWidth = window.innerWidth;
let width; let width;
@ -66,7 +66,7 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState>
} }
this.setState({ width, height }); this.setState({ width, height });
}; }
} }
const Container = const Container =

View File

@ -198,7 +198,7 @@ class Code extends React.Component<CodeProps, CodeState> {
} catch (error) { } catch (error) {
this.setState({ didCopy: false }); this.setState({ didCopy: false });
} }
}; }
} }
export { Code }; export { Code };