From 8c1daac42c2eb85de2da6338af715c3728112b50 Mon Sep 17 00:00:00 2001
From: SpikeHD <25207995+SpikeHD@users.noreply.github.com>
Date: Tue, 1 Oct 2024 09:15:05 -0700
Subject: [PATCH] fix: theme list crash
---
plugins/dorion-settings/pages/ThemesPage.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/dorion-settings/pages/ThemesPage.tsx b/plugins/dorion-settings/pages/ThemesPage.tsx
index 583cb3f..5226c1e 100644
--- a/plugins/dorion-settings/pages/ThemesPage.tsx
+++ b/plugins/dorion-settings/pages/ThemesPage.tsx
@@ -74,7 +74,7 @@ export function ThemesPage() {
{
- settings().themes.map((theme) => (
+ (settings().themes || []).map((theme) => (