@flozy/editor 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -128,15 +128,15 @@ const FormWorkflow = props => {
128
128
  },
129
129
  children: [/*#__PURE__*/_jsx(MenuItem, {
130
130
  sx: classes.selectList,
131
- value: "min",
131
+ value: "minutes",
132
132
  children: "Minutes"
133
133
  }), /*#__PURE__*/_jsx(MenuItem, {
134
134
  sx: classes.selectList,
135
- value: "hr",
135
+ value: "hours",
136
136
  children: "Hours"
137
137
  }), /*#__PURE__*/_jsx(MenuItem, {
138
138
  sx: classes.selectList,
139
- value: "day",
139
+ value: "days",
140
140
  children: "Day"
141
141
  })]
142
142
  })
@@ -28,8 +28,8 @@ const Workflow = props => {
28
28
  const [workflowList, setWorkflowList] = useState([]);
29
29
  const [formData, setFormData] = useState(false);
30
30
  const [schedule, setSchedule] = useState("immediately");
31
- const [scheduleEvery, setScheduleEvery] = useState("min");
32
- const currentInstant = scheduleEvery === "min" ? minutes : scheduleEvery === "hr" ? hours : scheduleEvery === "day" ? days : [];
31
+ const [scheduleEvery, setScheduleEvery] = useState("minutes");
32
+ const currentInstant = scheduleEvery === "minutes" ? minutes : scheduleEvery === "hours" ? hours : scheduleEvery === "days" ? days : [];
33
33
  const [scheduleOn, setScheduleOn] = useState(currentInstant[0]);
34
34
  const [subject, setSubject] = useState("Welcome to Flozy!");
35
35
  const [bodyData, setBodyData] = useState("Hey %field_name% \n\nThanks for attending the event called %Event Name% at %Event Time% on %Event Time%.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"