@@ -2,6 +2,7 @@ import { useCallback } from 'react';
3import useDetailsStore from './useDetailsStore';
3import useDetailsStore from './useDetailsStore';
4import useBirthdaysStore from './useBirthdaysStore';
4import useBirthdaysStore from './useBirthdaysStore';
5+import useRekeyDateStore from './useRekeyDateStore';
5import useInvitesStore from './useInvitesStore';
6import useInvitesStore from './useInvitesStore';
6import useControlledPointsStore from './useControlledPointsStore';
7import useControlledPointsStore from './useControlledPointsStore';
7import useEclipticOwnerStore from './useEclipticOwnerStore';
8import useEclipticOwnerStore from './useEclipticOwnerStore';
@@ -9,6 +10,7 @@ import useEclipticOwnerStore from './useEclipticOwnerStore';
9export default function usePointStore() {
10export default function usePointStore() {
10 const { syncDetails, ...details } = useDetailsStore();
11 const { syncDetails, ...details } = useDetailsStore();
11 const { syncBirthday, ...birthdays } = useBirthdaysStore();
12 const { syncBirthday, ...birthdays } = useBirthdaysStore();
13+ const { syncRekeyDate, ...rekeyDates } = useRekeyDateStore();
12 const { syncInvites, ...invites } = useInvitesStore();
14 const { syncInvites, ...invites } = useInvitesStore();
13 const ecliptic = useEclipticOwnerStore();
15 const ecliptic = useEclipticOwnerStore();
@@ -18,8 +20,8 @@ export default function usePointStore() {
19 // sync all of the on-chain info required to display a known point
21 // sync all of the on-chain info required to display a known point
20 const syncKnownPoint = useCallback(
22 const syncKnownPoint = useCallback(
21− async point => Promise.all([syncBirthday(point)]),
23+ async point => Promise.all([syncBirthday(point), syncRekeyDate(point)]),
22− [syncBirthday]
24+ [syncBirthday, syncRekeyDate]
25 // sync all of the on-chain info required to display a foreign point
27 // sync all of the on-chain info required to display a foreign point
@@ -39,6 +41,7 @@ export default function usePointStore() {
40 ...details,
42 ...details,
41 ...birthdays,
43 ...birthdays,
42 ...invites,
45 ...invites,
43 ...controlledPoints,
46 ...controlledPoints,
44 ...ecliptic,
47 ...ecliptic,