Skip to content

Commit

Permalink
fix: solving random deprecated console output (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinLaubenstein authored Nov 29, 2022
1 parent 89f7d36 commit 6a63529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class LogoSvg {
}

componentDidRender() {
if (this.accessibilityTitle !== '') {
if (this.accessibilityTitle) {
statusNote({
tag: 'deprecated',
message:
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/telekom/logo/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Logo {
@Prop() logoAriaDescribedBy?: string;

componentDidRender() {
if (this.accessibilityTitle !== '') {
if (this.accessibilityTitle) {
statusNote({
tag: 'deprecated',
message:
Expand Down

0 comments on commit 6a63529

Please sign in to comment.