File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export type SwitchValues = [
1919 Switch < {
2020 branches : [
2121 [ Form < { whyYes : string } > , Return < { interested : "yes" ; whyYes : string } > ] ,
22- [ Form < { whyNot : string } > , Return < { interested : "not " ; whyNot : string } > ] ,
22+ [ Form < { whyNot : string } > , Return < { interested : "no " ; whyNot : string } > ] ,
2323 [
2424 Form < { whyMaybe : string } > ,
2525 Return < { interested : "maybe" ; whyMaybe : string } >
@@ -62,7 +62,7 @@ export const switchSchema: Schema<SwitchValues> = [
6262 label : "Yes, that sounds good." ,
6363 } ,
6464 {
65- value : "not " ,
65+ value : "no " ,
6666 label : "No, it is not for me." ,
6767 } ,
6868 {
@@ -127,7 +127,7 @@ export const switchSchema: Schema<SwitchValues> = [
127127 ] ,
128128 } ,
129129 {
130- case : ( { interested } ) => interested === "not " ,
130+ case : ( { interested } ) => interested === "no " ,
131131 then : [
132132 {
133133 form : {
@@ -160,7 +160,7 @@ export const switchSchema: Schema<SwitchValues> = [
160160 } ,
161161 {
162162 return : ( { whyNot } ) => ( {
163- interested : "not " ,
163+ interested : "no " ,
164164 whyNot,
165165 } ) ,
166166 } ,
You can’t perform that action at this time.
0 commit comments