diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-19 00:05:18 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-19 00:05:18 -0400 |
| commit | 38742d5f491ed5232a381da63e126b609cf14aad (patch) | |
| tree | a723b0c9dfffa717b70df383d21fb3b14567308f /src/client/views/nodes/FaceRectangle.tsx | |
| parent | a3784cd3ab990d8016b1168eb0cbf7e9a2f22301 (diff) | |
| parent | 0b451af28e5aef6b749da61e8a9fcd0a840789ac (diff) | |
Merge branch 'restoringEslint' into aisosa-starter
Diffstat (limited to 'src/client/views/nodes/FaceRectangle.tsx')
| -rw-r--r-- | src/client/views/nodes/FaceRectangle.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/views/nodes/FaceRectangle.tsx b/src/client/views/nodes/FaceRectangle.tsx index 46bc6eb03..2b66b83fe 100644 --- a/src/client/views/nodes/FaceRectangle.tsx +++ b/src/client/views/nodes/FaceRectangle.tsx @@ -8,11 +8,17 @@ export default class FaceRectangle extends React.Component<{ rectangle: Rectangl @observable private opacity = 0; componentDidMount() { - setTimeout(() => runInAction(() => (this.opacity = 1)), 500); + setTimeout( + () => + runInAction(() => { + this.opacity = 1; + }), + 500 + ); } render() { - const rectangle = this.props.rectangle; + const { rectangle } = this.props; return ( <div style={{ |
