Skip to content

Commit

Permalink
Merge pull request #14 from FrogsDontHaveTails/master
Browse files Browse the repository at this point in the history
Incorrect logic when checking if there is a valid tobii server argument
  • Loading branch information
rezreal authored Jul 4, 2024
2 parents 773f232 + 110d12f commit 740ac32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/gentlemans-gallery/src/app/MainComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class MainComponent extends Component<Props, State> {
}

private startTobii(): void {
if (!this.state.tobii.use || this.state.tobii.server) {
if (!this.state.tobii.use || !this.state.tobii.server) {
return;
}
const ws = new WebSocket(this.state.tobii.server!, ['Tobii.Interaction']);
Expand Down

0 comments on commit 740ac32

Please sign in to comment.