We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a0cbec commit 7edf390Copy full SHA for 7edf390
packages/components/src/components/hds/code-block/index.ts
@@ -100,9 +100,7 @@ export default class HdsCodeBlock extends Component<HdsCodeBlockSignature> {
100
});
101
102
private _setUpCodeBlockCode = modifier((element: HTMLElement) => {
103
- if (this.showFooter) {
104
- this._isExpanded = false; // reset expanded state on updates
105
- }
+ this._isExpanded = false; // reset expanded state on updates
106
this.setPrismCode(element);
107
return () => {};
108
0 commit comments