Skip to content

Commit 3c22d4d

Browse files
committed
fix(popover-edit): remove fallthroughs in switch statement
1 parent 11a4ff0 commit 3c22d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk-experimental/popover-edit/lens-directives.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ export class CdkEditControl<FormValue> implements OnDestroy, OnInit {
115115
case 'submit':
116116
// Manually cause the form to submit before closing.
117117
this._triggerFormSubmit();
118-
// Fall through
118+
break;
119119
case 'close':
120120
this.editRef.close();
121-
// Fall through
121+
break;
122122
default:
123123
break;
124124
}

0 commit comments

Comments
 (0)