aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-tools-pages/ts/components/animations/index.tsx4
-rw-r--r--packages/dev-tools-pages/ts/components/code.tsx2
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 };