@@ -198,6 +198,7 @@ const useInviter = sendInvites => {
198 setTxStatus(STATUS.SUCCESS);
198 setTxStatus(STATUS.SUCCESS);
199 setInvites(confirmedInvites);
199 setInvites(confirmedInvites);
200 console.log(unsentInvites);
200 console.log(unsentInvites);
201+ console.log(confirmedInvites);
202 if (unsentInvites.length > 0) {
203 if (unsentInvites.length > 0) {
203 return { [FORM_ERROR]: unsentInvites };
204 return { [FORM_ERROR]: unsentInvites };
@@ -410,14 +411,19 @@ const InviteUrl = () => {
411 <Grid.Item full as={Grid}>
412 <Grid.Item full as={Grid}>
412 {invites.length > 0 && (
413 {invites.length > 0 && (
413− <Grid.Item full className="b-gray3 b1 mv4 p1 flex flex-center">
415+ <Grid.Item full className="b-gray3 b1 mv4 p1 flex flex-center">
414− <div className="flex1 ml1">{url}</div>
416+ <div className="flex1 ml1">{url}</div>
415− <Grid.Item
417+ <Grid.Item
416− className="pv3 ph4 bg-black white"
418+ className="pv3 ph4 bg-black white"
417− onClick={() => doCopy()}>
419+ onClick={() => doCopy()}>
418− {didCopy ? 'Copied' : 'Copy'}
420+ {didCopy ? 'Copied' : 'Copy'}
419 </Grid.Item>
422 </Grid.Item>
420− </Grid.Item>
423+ <Grid.Item full>
424+ Your invite link expires after consumption.
422 {invites.length === 0 && renderGenerateButton()}
428 {invites.length === 0 && renderGenerateButton()}
423 {needFunds && <Grid.Item full as={NeedFundsNotice} {...needFunds} />}
429 {needFunds && <Grid.Item full as={NeedFundsNotice} {...needFunds} />}