Skip to content

Commit

Permalink
Fix device insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Oct 2, 2023
1 parent 7f38412 commit 89866b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/react/components/with-device-link-id.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export function WithDeviceLinkId({
containerLinkId = deep.linkId!,
}: WithDeviceLinkIdOptions) {
const log = packageLog.extend(WithDeviceLinkId.name)
const [deviceLinkIdFromStore, setDeviceLinkIdFromStore, isDeviceFromCapacitorStoreLoading] = useCapacitorStore<number | undefined>(
const [deviceLinkIdFromStore, setDeviceLinkIdFromStore, unsertDeviceLinkIdFromStore,isDeviceFromCapacitorStoreLoading] = useCapacitorStore<number | undefined>(
CapacitorStoreKeys[CapacitorStoreKeys.DeviceLinkId],
undefined
);
log({ deviceLinkIdFromStore, setDeviceLinkIdFromStore })
log({ deviceLinkIdFromStore, setDeviceLinkIdFromStore, unsertDeviceLinkIdFromStore, isDeviceFromCapacitorStoreLoading })

const toast = useToast();
log({ toast })
Expand Down

0 comments on commit 89866b4

Please sign in to comment.