From bdd428ed9cf317ceebe38533eaa56ca4f247082a Mon Sep 17 00:00:00 2001 From: Terncode Date: Thu, 18 Jul 2024 23:51:38 +0200 Subject: [PATCH] Fix missing semicolons --- src/UI/components/menu.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/UI/components/menu.tsx b/src/UI/components/menu.tsx index fa7ed39..4a7a83e 100644 --- a/src/UI/components/menu.tsx +++ b/src/UI/components/menu.tsx @@ -91,19 +91,18 @@ export class Menu extends React.Component { this.state = { takingCanvasShot: false, canvasShotAvailable: true, - } + }; } componentDidMount(): void { - this.props.cords.on(CordType.Url, this.checkIsScreenShotAvailable) + this.props.cords.on(CordType.Url, this.checkIsScreenShotAvailable); } componentWillUnmount(): void { - this.props.cords.off(CordType.Url, this.checkIsScreenShotAvailable) + this.props.cords.off(CordType.Url, this.checkIsScreenShotAvailable); } checkIsScreenShotAvailable = () => { - this.setState({canvasShotAvailable: this.props.cords.uScale >= 0}) - console.log(this.props.cords.uScale); - } + this.setState({canvasShotAvailable: this.props.cords.uScale >= 0}); + }; import = async () => { try {