on master help sign in
Merge pull request #591 from urbit/m/necessary-details

points: sync details for owned points

commit87e5558c1241dbd1b4cb0d50ff987930a642e2e9 authorfang <github@fang.io> dateThu 1 Jul 2021, 12:37 (5 years ago) parent92c98f62b975ce
1 file changed+4
src/views/Points.js+4
src/views/Points.js+4
@@ -12,6 +12,7 @@ import { useStarReleaseCache } from 'store/starRelease';
1212import * as need from 'lib/need';
1313import { isZeroAddress, abbreviateAddress } from 'lib/utils/address';
1414import useIsEclipticOwner from 'lib/useIsEclipticOwner';
15+import { useSyncDetails } from 'lib/useSyncPoints';
1516import useRejectedIncomingPointTransfers from 'lib/useRejectedIncomingPointTransfers';
1617import pluralize from 'lib/pluralize';
1718import newGithubIssueUrl from 'new-github-issue-url';
@@ -204,6 +205,9 @@ export default function Points() {
204205 syncStarReleaseDetails();
205206 }, [syncStarReleaseDetails]);
206207
208+ // sync display details for known points
209+ useSyncDetails(ownedPoints);
210+
207211 const goCreateGalaxy = useCallback(() => push(names.CREATE_GALAXY), [
208212 names.CREATE_GALAXY,
209213 push,