@@ -20,6 +20,8 @@ import {
2020} from 'views/Invite/useInvites';
2121import { usePointCache } from 'store/pointCache';
2222import { CreatingInvitesModal } from './CreatingInvitesModal';
23+import { useWallet } from 'store/wallet';
24+import { WALLET_TYPES } from 'lib/constants';
2325
2426interface StarMap {
2527 [key: string]: {
@@ -52,6 +54,9 @@ function allChildrenSelected(selected: string[], childrenPatps: string[]) {
5254
5355export const InviteConverter = ({ points }: InviteConverterProps) => {
5456 const { syncControlledPoints }: any = usePointCache();
57+ const { walletType }: any = useWallet();
58+ const signatureFree =
59+ walletType === WALLET_TYPES.TICKET || walletType === WALLET_TYPES.SHARDS;
5560 const { api, getPendingTransactions, getAndUpdatePoint } = useRoller();
5661 const { inviteJobs } = useInviteStore();
5762 const { generateInviteCodes } = useInvites();
@@ -134,7 +139,6 @@ export const InviteConverter = ({ points }: InviteConverterProps) => {
134139
135140 try {
136141 for (const { point, children } of Object.values(starMap)) {
137− debugger;
138142 const filtered = children
139143 .filter(p => selected.includes(p.patp))
140144 .map(p => p.value);
@@ -201,7 +205,7 @@ export const InviteConverter = ({ points }: InviteConverterProps) => {
201205 {/*
202206 @ts-ignore */}
203207 <Button className="create-invites" center onClick={() => setShow(true)}>
204− Create Invites from Planets
208+ Update Invites
205209 </Button>
206210 <Modal small show={show} hide={() => setShow(false)}>
207211 <BodyPane p={0}>
@@ -209,7 +213,7 @@ export const InviteConverter = ({ points }: InviteConverterProps) => {
209213 <Row alignItems="center" mb={3}>
210214 <InviteIcon />
211215 <Text bold ml={2}>
212− Create Invites for Existing Planets
216+ Updates invites for planets
213217 </Text>
214218 </Row>
215219 <Text mb={5}>
@@ -220,9 +224,11 @@ export const InviteConverter = ({ points }: InviteConverterProps) => {
220224 keys invalid.
221225 </Text>
222226 </Text>
223− <Text bold className={!!signatureCount ? '' : 'hidden'}>
224− {signatureCount} manual signatures will be required.
225− </Text>
227+ {!signatureFree && (
228+ <Text bold className={!!signatureCount ? '' : 'hidden'}>
229+ {signatureCount} manual signatures will be required.
230+ </Text>
231+ )}
226232 <Col
227233 bg="washedGray"
228234 height="300px"