diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-09 17:21:58 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-09 17:21:58 +0800 |
commit | fd034cc1e4475fa18cfa6a6afb79d09931189ecd (patch) | |
tree | 815eaca54bad9b177b9959e8e9109c6142986f08 /packages | |
parent | 82f29c395a81cd6fdbed64abdf74675f9cd96afa (diff) | |
download | dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar.gz dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar.bz2 dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar.lz dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar.xz dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.tar.zst dexon-sol-tools-fd034cc1e4475fa18cfa6a6afb79d09931189ecd.zip |
Remove redundant semicolons
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dev-tools-pages/ts/components/animations/index.tsx | 4 | ||||
-rw-r--r-- | packages/dev-tools-pages/ts/components/code.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-tools-pages/ts/components/animations/index.tsx b/packages/dev-tools-pages/ts/components/animations/index.tsx index 7f7b36c21..c9672db05 100644 --- a/packages/dev-tools-pages/ts/components/animations/index.tsx +++ b/packages/dev-tools-pages/ts/components/animations/index.tsx @@ -52,7 +52,7 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState> private readonly _handleResize = () => { clearTimeout(this._timeout); this._timeout = window.setTimeout(this._updateAnimationSize, 50); - }; + } private readonly _updateAnimationSize = () => { const windowWidth = window.innerWidth; let width; @@ -66,7 +66,7 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState> } this.setState({ width, height }); - }; + } } const Container = diff --git a/packages/dev-tools-pages/ts/components/code.tsx b/packages/dev-tools-pages/ts/components/code.tsx index 974f08055..dbd1a7e3c 100644 --- a/packages/dev-tools-pages/ts/components/code.tsx +++ b/packages/dev-tools-pages/ts/components/code.tsx @@ -198,7 +198,7 @@ class Code extends React.Component<CodeProps, CodeState> { } catch (error) { this.setState({ didCopy: false }); } - }; + } } export { Code }; |