Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
kind of handle missing current device in drilled props
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry Archibald committed Sep 14, 2022
1 parent 96e138a commit 243f3e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/settings/tabs/user/SessionManagerTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ const SessionManagerTab: React.FC = () => {
<CurrentDeviceSection
device={currentDevice}
isSigningOut={signingOutDeviceIds.includes(currentDevice?.device_id)}
isLoading={isLoadingDeviceList || pendingDeviceIds.includes(currentDevice.device_id)}
onSaveDeviceName={(deviceName) => saveDeviceName(currentDevice.device_id, deviceName)}
isLoading={isLoadingDeviceList || pendingDeviceIds.includes(currentDevice?.device_id)}
onSaveDeviceName={(deviceName) => saveDeviceName(currentDevice?.device_id, deviceName)}
onVerifyCurrentDevice={onVerifyCurrentDevice}
onSignOutCurrentDevice={onSignOutCurrentDevice}
/>
Expand Down

0 comments on commit 243f3e6

Please sign in to comment.