File tree 1 file changed +2
-2
lines changed
packages/suite/src/components/suite/layouts/SuiteLayout/DeviceSelector
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { TrezorDevice } from 'src/types/suite';
7
7
import { spacingsPx } from '@trezor/theme' ;
8
8
import { RotateDeviceImage } from '@trezor/product-components' ;
9
9
import { DeviceStatusText } from 'src/views/suite/SwitchDevice/DeviceItem/DeviceStatusText' ;
10
- import { selectDeviceLabelOrName } from '@suite-common/wallet-core' ;
10
+ import { selectDeviceLabelOrNameById } from '@suite-common/wallet-core' ;
11
11
import { useSelector } from 'src/hooks/suite' ;
12
12
13
13
type DeviceStatusProps = {
@@ -45,7 +45,7 @@ export const DeviceStatus = ({
45
45
handleRefreshClick,
46
46
forceConnectionInfo = false ,
47
47
} : DeviceStatusProps ) => {
48
- const deviceLabel = useSelector ( selectDeviceLabelOrName ) ;
48
+ const deviceLabel = useSelector ( state => selectDeviceLabelOrNameById ( state , device ?. id ) ) ;
49
49
50
50
return (
51
51
< Container >
You can’t perform that action at this time.
0 commit comments