Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Apr 21, 2024
1 parent d86028a commit d0b5631
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/combined-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class CombinedCard extends LitElement implements LovelaceCard {
}

private async getSizeFromComponentCard(): Promise<number> {
const size = await (async function recurseWaitForCard(that) {
return await (async function recurseWaitForCard(that) {
if (that._card && that._card.getCardSize) {
return await that._card.getCardSize();
}
Expand All @@ -41,8 +41,6 @@ class CombinedCard extends LitElement implements LovelaceCard {

return await recurseWaitForCard(that);
})(this);

return size;
}

private async getSizeFromTempCard(): Promise<number> {
Expand Down

0 comments on commit d0b5631

Please sign in to comment.