@@ -1,16 +1,10 @@
11import React, { useCallback } from 'react';
22import { Just } from 'folktale/maybe';
3−import * as need from 'lib/need';
43import { Grid } from 'indigo-react';
54
6−import { usePointCursor } from 'store/pointCursor';
7−// import { usePointCache } from 'store/pointCache';
8−
95import View from 'components/View';
10−import Passport from 'components/Passport';
116import { ForwardButton } from 'components/Buttons';
127
13−import useInvites from 'lib/useInvites';
148import { ROUTE_NAMES } from 'lib/routeNames';
159
1610import { useHistory } from 'store/history';
@@ -20,13 +14,6 @@ import FooterButton from 'components/FooterButton';
2014export default function Admin() {
2115 const history = useHistory();
2216 const { urbitWallet } = useWallet();
23− const { pointCursor } = usePointCursor();
24− // const { pointCache } = usePointCache();
25−
26− const point = need.point(pointCursor);
27−
28− // fetch the invites for the current cursor
29− const { availableInvites } = useInvites(point);
3017
3118 const goRedownload = useCallback(() => history.push(ROUTE_NAMES.REDOWNLOAD), [
3219 history,
@@ -36,7 +23,6 @@ export default function Admin() {
3623 history,
3724 ]);
3825
39− // const pointDetails = need.fromPointCache(pointCache, point);
4026
4127 const canDownloadPassport = Just.hasInstance(urbitWallet);
4228