mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
removed console.log
This commit is contained in:
parent
663729ea62
commit
ad3237a49a
@ -177,7 +177,6 @@ export class DeviceDropdown extends Component<Props> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const deviceList = devices.map((dev, index) => {
|
const deviceList = devices.map((dev, index) => {
|
||||||
console.warn("DEVEEE", dev, selected, dev === selected);
|
|
||||||
if (dev === selected) return null;
|
if (dev === selected) return null;
|
||||||
|
|
||||||
let deviceStatus: string = "Connected";
|
let deviceStatus: string = "Connected";
|
||||||
|
@ -54,7 +54,6 @@ const WalletService: Middleware = (api: MiddlewareAPI) => (next: MiddlewareDispa
|
|||||||
if (locationChange || prevState.connect.devices !== state.connect.devices) {
|
if (locationChange || prevState.connect.devices !== state.connect.devices) {
|
||||||
const device = getSelectedDevice(state);
|
const device = getSelectedDevice(state);
|
||||||
if (state.wallet.selectedDevice !== device) {
|
if (state.wallet.selectedDevice !== device) {
|
||||||
console.warn("UPDATE SELECTED DEVICE!", state.router.location.state)
|
|
||||||
api.dispatch({
|
api.dispatch({
|
||||||
type: WALLET.SET_SELECTED_DEVICE,
|
type: WALLET.SET_SELECTED_DEVICE,
|
||||||
device
|
device
|
||||||
|
Loading…
Reference in New Issue
Block a user