@@ -12,7 +12,7 @@ import Greeting from 'components/Greeting';
1212import Passport from 'components/Passport';
1313import { ForwardButton, BootUrbitOSButton } from 'components/Buttons';
1414import CopyButton from 'components/CopyButton';
15−import { matchBlinky } from 'components/Blinky';
15+import Blinky, { matchBlinky } from 'components/Blinky';
1616import DownloadSigilButton from 'components/DownloadSigilButton';
1717import BarGraph from 'components/BarGraph';
1818import Chip from 'components/Chip';
@@ -63,6 +63,8 @@ export default function Point() {
6363 const _totalInvites =
6464 sentInvites.getOrElse(0) + availableInvites.getOrElse(0);
6565 const _pendingInvites = pendingPoints.getOrElse([]).length;
66+
67+ const loadedInvites = Just.hasInstance(availableInvites);
6668 //
6769 // availableInvites.getOrElse(0) === 0
6870
@@ -72,7 +74,7 @@ export default function Point() {
7274
7375 const goInvite = useCallback(() => push(names.INVITE), [push, names]);
7476
75− const goParty = useCallback(() => push(names.PARTY), [push, names]);
77+ const goCohort = useCallback(() => push(names.INVITE_COHORT), [push, names]);
7678
7779 const goPartiesSetPoolSize = useCallback(
7880 () => push(names.PARTY_SET_POOL_SIZE),
@@ -89,39 +91,22 @@ export default function Point() {
8991 const [showInviteForm, setShowInviteForm] = useState(false);
9092
9193 const inviteButton = (() => {
92− switch (azimuth.getPointSize(point)) {
93− case azimuth.PointSize.Planet:
94− const availableInvitesText = matchBlinky(availableInvites);
95− return (
96− <>
97− <Grid.Item
98− full
99− as={ForwardButton}
100− disabled={!isActiveOwner}
101− onClick={goInvite}>
102− Invite <sup>{availableInvitesText}</sup>
103− </Grid.Item>
104− <Grid.Divider />
105− </>
106− );
107− //
108− case azimuth.PointSize.Star:
109− return (
110− <>
111− <Grid.Item
112− full
113− as={ForwardButton}
114− disabled={!isActiveOwner}
115− onClick={goPartiesSetPoolSize}>
116− Manage Invite Pools
117− </Grid.Item>
118− <Grid.Divider />
119− </>
120− );
121− //
122− default:
123− return null;
94+ if (azimuth.getPointSize(point) === azimuth.PointSize.Star) {
95+ return (
96+ <>
97+ <Grid.Item
98+ full
99+ as={ForwardButton}
100+ disabled={!isActiveOwner}
101+ onClick={goPartiesSetPoolSize}>
102+ Manage Invite Pools
103+ </Grid.Item>
104+ <Grid.Divider />
105+ </>
106+ );
124107 }
108+
109+ return null;
125110 })();
126111
127112 const senateButton = (() => {
@@ -167,7 +152,7 @@ export default function Point() {
167152 className={cn('t-right underline', {
168153 gray4: sentInvites.getOrElse(0) === 0,
169154 })}
170− onClick={goParty}
155+ onClick={goCohort}
171156 cols={[11, 13]}>
172157 View
173158 </Grid.Item>
@@ -223,6 +208,11 @@ export default function Point() {
223208 {showInviteForm && <Inviter />}
224209 </>
225210 )}
211+ {!loadedInvites && isPlanet && (
212+ <Grid.Item className="mv2" full>
213+ Invite Group <Blinky />
214+ </Grid.Item>
215+ )}
226216 </Grid>
227217 <Grid className="pt2">
228218 {inviteButton}