@@ -1,7 +1,6 @@
1import { useCallback } from 'react';
1import { useCallback } from 'react';
3import useDetailsStore from './useDetailsStore';
3import useDetailsStore from './useDetailsStore';
4−import useBirthdaysStore from './useBirthdaysStore';
5import useRekeyDateStore from './useRekeyDateStore';
4import useRekeyDateStore from './useRekeyDateStore';
6import useInvitesStore from './useInvitesStore';
5import useInvitesStore from './useInvitesStore';
7import useControlledPointsStore from './useControlledPointsStore';
6import useControlledPointsStore from './useControlledPointsStore';
@@ -10,7 +9,6 @@ import useResidents from './useResidentsStore';
11export default function usePointStore() {
10export default function usePointStore() {
12 const { syncDetails, ...details } = useDetailsStore();
11 const { syncDetails, ...details } = useDetailsStore();
13− const { syncBirthday, ...birthdays } = useBirthdaysStore();
14 const { syncRekeyDate, ...rekeyDates } = useRekeyDateStore();
12 const { syncRekeyDate, ...rekeyDates } = useRekeyDateStore();
15 const { syncInvites, ...invites } = useInvitesStore();
13 const { syncInvites, ...invites } = useInvitesStore();
@@ -21,8 +19,8 @@ export default function usePointStore() {
21 const ecliptic = useEclipticOwnerStore();
19 const ecliptic = useEclipticOwnerStore();
23 const syncDates = useCallback(
21 const syncDates = useCallback(
24− async point => Promise.all([syncBirthday(point), syncRekeyDate(point)]),
22+ async point => Promise.all([syncRekeyDate(point)]),
25− [syncBirthday, syncRekeyDate]
23+ [syncRekeyDate]
28 const syncExtras = useCallback(
26 const syncExtras = useCallback(
@@ -39,7 +37,6 @@ export default function usePointStore() {
41 ...details,
39 ...details,
43 ...rekeyDates,
40 ...rekeyDates,
44 ...invites,
41 ...invites,
45 ...controlledPoints,
42 ...controlledPoints,