@@ -20,8 +20,7 @@ export default function usePointStore() {
20 const { syncResidents, syncResidentCount, ...residents } = useResidents();
20 const { syncResidents, syncResidentCount, ...residents } = useResidents();
21 const ecliptic = useEclipticOwnerStore();
21 const ecliptic = useEclipticOwnerStore();
23− //TODO more appropriately named "syncDates" or similar
24− const syncKnownPoint = useCallback(
23+ const syncDates = useCallback(
25 async point => Promise.all([syncBirthday(point), syncRekeyDate(point)]),
24 async point => Promise.all([syncBirthday(point), syncRekeyDate(point)]),
26 [syncBirthday, syncRekeyDate]
25 [syncBirthday, syncRekeyDate]
@@ -29,13 +28,13 @@ export default function usePointStore() {
29 const syncExtras = useCallback(
28 const syncExtras = useCallback(
30 async point =>
29 async point =>
31 Promise.all([
30 Promise.all([
32− syncKnownPoint(point),
31+ syncDetails(point),
34 syncResidentCount(point),
34 syncResidentCount(point),
36 syncInvites(point),
35 syncInvites(point),
38− [syncKnownPoint, syncDetails, syncInvites, syncResidentCount]
37+ [syncDates, syncDetails, syncInvites, syncResidentCount]
@@ -50,7 +49,7 @@ export default function usePointStore() {
50 syncRekeyDate,
49 syncRekeyDate,
51 syncInvites,
50 syncInvites,
52 syncControlledPoints,
51 syncControlledPoints,
53− syncKnownPoint,
52+ syncDates,
54 syncResidents,
53 syncResidents,
55 syncExtras,
54 syncExtras,