Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed May 27, 2024
2 parents 57da3da + 812001d commit e555c30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function App() {
};

const handleConnect = () => {
dispatch(setConnectionState('connected'));
setView(View.CONNECTED);
};

Expand Down
1 change: 0 additions & 1 deletion src/components/connectOverlay/ConnectOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ const ConnectOverlay: React.FC<Props> = ({
}
);
if (statusResponse.data.connected) {
dispatch(setConnectionState('connected'));
onConnect();
} else {
console.log('Not Connected, checking again...');
Expand Down

0 comments on commit e555c30

Please sign in to comment.