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.
*/
#createAreaCards() {
const groupedCards = [];
groupedCards.push({
const groupedCards = [{
type: "custom:mushroom-title-card",
title: "Areas",
},
);
}];
import("../cards/AreaCard").then(areaModule => {
const areaCards = [];