From 524d2ac9f995366fec8eb6e53b9b64fcbd249d76 Mon Sep 17 00:00:00 2001 From: Albina Nikiforova Date: Thu, 12 Dec 2024 16:35:32 +0100 Subject: [PATCH] fix(suite): selector --- .../SuiteLayout/Sidebar/QuickActions/Update/useUpdateStatus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suite/src/components/suite/layouts/SuiteLayout/Sidebar/QuickActions/Update/useUpdateStatus.ts b/packages/suite/src/components/suite/layouts/SuiteLayout/Sidebar/QuickActions/Update/useUpdateStatus.ts index 6890df37460..1223444bef2 100644 --- a/packages/suite/src/components/suite/layouts/SuiteLayout/Sidebar/QuickActions/Update/useUpdateStatus.ts +++ b/packages/suite/src/components/suite/layouts/SuiteLayout/Sidebar/QuickActions/Update/useUpdateStatus.ts @@ -67,7 +67,7 @@ const getDeviceStatus = ({ export const useUpdateStatus = (): UpdateStatusData => { const { device } = useDevice(); - const { desktopUpdate } = useSelector(state => state); + const desktopUpdate = useSelector(state => state.desktopUpdate); const isDeviceDisconnected = device?.connected !== true; const isFirmwareOutdated = device?.firmware === 'outdated';