on master help sign in
points: sync details for owned points
2b975ceFang
src/views/Points.js+4
@@ -12,6 +12,7 @@ import { useStarReleaseCache } from 'store/starRelease';
12import * as need from 'lib/need';
12import * as need from 'lib/need';
13import { isZeroAddress, abbreviateAddress } from 'lib/utils/address';
13import { isZeroAddress, abbreviateAddress } from 'lib/utils/address';
14import useIsEclipticOwner from 'lib/useIsEclipticOwner';
14import useIsEclipticOwner from 'lib/useIsEclipticOwner';
15+import { useSyncDetails } from 'lib/useSyncPoints';
15import useRejectedIncomingPointTransfers from 'lib/useRejectedIncomingPointTransfers';
16import useRejectedIncomingPointTransfers from 'lib/useRejectedIncomingPointTransfers';
16import pluralize from 'lib/pluralize';
17import pluralize from 'lib/pluralize';
17import newGithubIssueUrl from 'new-github-issue-url';
18import newGithubIssueUrl from 'new-github-issue-url';
@@ -204,6 +205,9 @@ export default function Points() {
204 syncStarReleaseDetails();
205 syncStarReleaseDetails();
205 }, [syncStarReleaseDetails]);
206 }, [syncStarReleaseDetails]);
206
207
208+ // sync display details for known points
209+ useSyncDetails(ownedPoints);
210+
207 const goCreateGalaxy = useCallback(() => push(names.CREATE_GALAXY), [
211 const goCreateGalaxy = useCallback(() => push(names.CREATE_GALAXY), [
208 names.CREATE_GALAXY,
212 names.CREATE_GALAXY,
209 push,
213 push,