import * as React from 'react';
import { Exchange } from "infrastructure/chat";
import { MittensChat } from "./mittens-chat";
import { Signup } from "components/signup/signup";

MittensChat.createGoal("notification-signup").exchanges = [
  new Exchange(
    [
      "If you'd like to stay in touch, let me know your email address (I'll keep it secret and safe!)"
    ],
    {
      component: <Signup />
    },
    (state, signedup) => {
      if (signedup) {
        MittensChat.changeState({
          goalName: "signed-up",
          exchange: 0
        });
      } else {
      MittensChat.changeState({
        goalName: "declined-signup",
        exchange: 0
      });
    }
  })
];

import * as React from 'react';
import { Exchange } from "infrastructure/chat";
import { MittensChat } from "./mittens-chat";
import { Signup } from "components/signup/signup";

MittensChat.createGoal("notification-signup").exchanges = [
  new Exchange(
    [
      "If you'd like me to remind you about upcoming elections, let me know your email address (I'll keep it secret and safe!)"
    ],
    {
      component: <Signup />
    },
    (state, signedup) => {
      if (signedup) {
        MittensChat.changeState({
          goalName: "signed-up",
          exchange: 0
        });
      } else {
      MittensChat.changeState({
        goalName: "declined-signup",
        exchange: 0
      });
    }
  })
];

--- 
+++ 
@@ -6,7 +6,7 @@
 MittensChat.createGoal("notification-signup").exchanges = [
   new Exchange(
     [
-      "If you'd like me to remind you about upcoming elections, let me know your email address (I'll keep it secret and safe!)"
+      "If you'd like to stay in touch, let me know your email address (I'll keep it secret and safe!)"
     ],
     {
       component: <Signup />
Remove commitment to send email reminders
