Skip to content

Commit ebe8da6

Browse files
Update src/code-snippet/code-snippet.component.ts
Co-authored-by: Akshat Patel <38994122+Akshat55@users.noreply.github.com>
1 parent 01b90fc commit ebe8da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code-snippet/code-snippet.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class CodeSnippet extends BaseIconButton implements OnInit, AfterViewInit
231231
let ref;
232232
switch (this.display) {
233233
case "multi":
234-
ref = this.codeContent?.nativeElement;
234+
ref = this.codeContent.nativeElement;
235235
break;
236236
case "single":
237237
ref = this.codeContainer.nativeElement;

0 commit comments

Comments
 (0)