Skip to content

Commit

Permalink
fix: blank card
Browse files Browse the repository at this point in the history
Too much removed during the commit "fix: remove unsupported section cards"
  • Loading branch information
punxaphil committed Dec 7, 2023
1 parent 632542c commit a41a7af
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { Player } from './sections/player';
import { Card } from './card';
import { Grouping } from './sections/grouping';
import { Groups } from './sections/groups';
import { MediaBrowser } from './sections/media-browser';
import './sections/volumes';

const name = (type?: string) => `Sonos${type ? ` (${type})` : ''}`;
Expand All @@ -12,3 +16,7 @@ window.customCards.push({
});

customElements.define('sonos-card', Card);
customElements.define('sonos-grouping', Grouping);
customElements.define('sonos-groups', Groups);
customElements.define('sonos-media-browser', MediaBrowser);
customElements.define('sonos-player', Player);

0 comments on commit a41a7af

Please sign in to comment.