remove debug code

This was just there for debugging and forgot to remove it before pushing.
This commit is contained in:
David Lechner
2020-04-20 17:25:33 -05:00
parent b1e99e0582
commit 13a2b271b0
-1
View File
@@ -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;