Skip to content

Commit

Permalink
fix: attempt fixing double set
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed Oct 6, 2020
1 parent 51ca5d4 commit 3b10e7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/components/shadow-root/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { action } from '@ember/object';
const isFastBoot = typeof FastBoot !== 'undefined';

export default class ShadowRoot extends Component {
@tracked shadow = null;
@tracked tagName = 'div';
@tracked shadow;
@tracked tagName;

defaultMode = 'open';
isFastBoot = isFastBoot;

constructor() {
super(...arguments);
this.tagName = this.args.tagName || this.tagName;
this.tagName = this.args.tagName || 'div';
}

@action
Expand Down

0 comments on commit 3b10e7c

Please sign in to comment.