Remove redundant semicolons
This commit is contained in:
parent
82f29c395a
commit
fd034cc1e4
@ -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 =
|
||||||
|
@ -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 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user