Refactor grouped cards

This commit is contained in:
Aalian Khan
2023-09-19 10:47:35 -04:00
parent 14f514fffe
commit 3063776a5f
2 changed files with 3 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -177,12 +177,10 @@ class HomeView extends AbstractView {
* @return {Object[]} A card object array. * @return {Object[]} A card object array.
*/ */
#createAreaCards() { #createAreaCards() {
const groupedCards = []; const groupedCards = [{
groupedCards.push({
type: "custom:mushroom-title-card", type: "custom:mushroom-title-card",
title: "Areas", title: "Areas",
}, }];
);
import("../cards/AreaCard").then(areaModule => { import("../cards/AreaCard").then(areaModule => {
const areaCards = []; const areaCards = [];