mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
remove debug code
This was just there for debugging and forgot to remove it before pushing.
This commit is contained in:
@@ -69,7 +69,6 @@ function endDisconnect(): BLEConnectAction {
|
||||
|
||||
export function connect(): BLEThunkAction {
|
||||
return async function (dispatch): Promise<void> {
|
||||
dispatch(notification.add('error', 'A device is already connected.'));
|
||||
if (device !== undefined) {
|
||||
dispatch(notification.add('error', 'A device is already connected.'));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user