import { LitElement, html } from 'lit-element'
import { links } from '../../styles/links.js'

/*
 * A fixture list item
 */
class FixtureListItem extends LitElement {
  static get properties() {
    return { fixture: { type: Object } }
  }

  render() {
    const { fixture } = this

    return html`
      ${links}

      <div>
        <a href="/fixture/${fixture.id}">${fixture.name}</a>
      </div>
    `
  }

}

customElements.define('fixture-list-item', FixtureListItem)

import { LitElement, html } from 'lit-element'
import { links } from '../../styles/links.js'

/*
 * A fixture list item
 */
class FixtureListItem extends LitElement {
  static get properties() {
    return { fixture: { type: Object } }
  }

  render() {
    const { fixture } = this

    if (fixture === undefined) {
      return html``
    }

    return html`
      ${links}

      <div>
        <a href="/fixture/${fixture.id}">${fixture.name}</a>
      </div>
    `
  }

}

customElements.define('fixture-list-item', FixtureListItem)

Remove scene causes no error anymore
fix(scene): Remove scene causes no error anymore

fix #86
