Skip to content

Commit d07e322

Browse files
authored
fix(card): ensure teardown logic is called when disconnected (#7289)
**Related Issue:** N/A ## Summary This fixes a lifecycle hook typo that prevented teardown logic from running.
1 parent 4e602e8 commit d07e322

File tree

1 file changed

+1
-1
lines changed
  • packages/calcite-components/src/components/card

1 file changed

+1
-1
lines changed

packages/calcite-components/src/components/card/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class Card implements ConditionalSlotComponent, LocalizedComponent, T9nCo
114114
connectMessages(this);
115115
}
116116

117-
disonnectedCallback(): void {
117+
disconnectedCallback(): void {
118118
disconnectConditionalSlotComponent(this);
119119
disconnectLocalized(this);
120120
disconnectMessages(this);

0 commit comments

Comments
 (0)