Fix missing semicolons
This commit is contained in:
@@ -91,19 +91,18 @@ export class Menu extends React.Component<Props, State> {
|
|||||||
this.state = {
|
this.state = {
|
||||||
takingCanvasShot: false,
|
takingCanvasShot: false,
|
||||||
canvasShotAvailable: true,
|
canvasShotAvailable: true,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount(): void {
|
componentDidMount(): void {
|
||||||
this.props.cords.on(CordType.Url, this.checkIsScreenShotAvailable)
|
this.props.cords.on(CordType.Url, this.checkIsScreenShotAvailable);
|
||||||
}
|
}
|
||||||
componentWillUnmount(): void {
|
componentWillUnmount(): void {
|
||||||
this.props.cords.off(CordType.Url, this.checkIsScreenShotAvailable)
|
this.props.cords.off(CordType.Url, this.checkIsScreenShotAvailable);
|
||||||
}
|
}
|
||||||
checkIsScreenShotAvailable = () => {
|
checkIsScreenShotAvailable = () => {
|
||||||
this.setState({canvasShotAvailable: this.props.cords.uScale >= 0})
|
this.setState({canvasShotAvailable: this.props.cords.uScale >= 0});
|
||||||
console.log(this.props.cords.uScale);
|
};
|
||||||
}
|
|
||||||
|
|
||||||
import = async () => {
|
import = async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user