mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 16:57:48 +01:00
await for setState
This commit is contained in:
@@ -71,7 +71,7 @@ export class GcodeSenderComponent extends React.PureComponent<
|
||||
}
|
||||
}
|
||||
|
||||
this.setState({ gcodeLinesQueue, gcodeLinesSent });
|
||||
await this.setState({ gcodeLinesQueue, gcodeLinesSent });
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user