Skip to content

Commit ef7fa64

Browse files
committed
fixup! feat(cdk-experimental/ui-patterns): add popup behavior
1 parent c386241 commit ef7fa64

File tree

1 file changed

+1
-2
lines changed
  • src/cdk-experimental/ui-patterns/behaviors/popup

1 file changed

+1
-2
lines changed

src/cdk-experimental/ui-patterns/behaviors/popup/popup.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export class PopupControl {
4646

4747
/** Toggles the popup's expanded state. */
4848
toggle(): void {
49-
const expanded = !this.inputs.expanded();
50-
this.inputs.expanded.set(expanded);
49+
this.inputs.expanded.set(!this.inputs.expanded());
5150
}
5251
}

0 commit comments

Comments
 (0)