@@ -194,15 +194,14 @@ export default function InviteEmail() {
194 await Promise.all(
194 await Promise.all(
195 inputs.map(async input => {
195 inputs.map(async input => {
196 const email = input.data;
196 const email = input.data;
197− const hasReceived = getHasReceived(email).matchWith({
197+ getHasReceived(email).matchWith({
198− Nothing: () => 'unknown', // loading
198+ Nothing: () => {
199− Just: p => p.value,
201+ Just: p => {
202+ if (p.value) alreadyReceived.push(email);
201− if (hasReceived === 'unknown') {
203− } else if (hasReceived) {
204− alreadyReceived.push(email);
208 if (!knowAll) {
207 if (!knowAll) {