mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-10-27 06:20:41 +00:00
remove debug code
This was just there for debugging and forgot to remove it before pushing.
This commit is contained in:
1 parent
b1e99e0582
commit
13a2b271b0
1 file changed
-1
@@ -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