From 2847c44a81aee71b25f7b2ed527dd0803628bf4f Mon Sep 17 00:00:00 2001 From: Wyvest Date: Tue, 31 Mar 2026 18:30:39 -0400 Subject: [PATCH] fix rare crash --- apps/oneclient/frontend/src/routes/app/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/oneclient/frontend/src/routes/app/index.tsx b/apps/oneclient/frontend/src/routes/app/index.tsx index 964e1f85..1f8bccbc 100644 --- a/apps/oneclient/frontend/src/routes/app/index.tsx +++ b/apps/oneclient/frontend/src/routes/app/index.tsx @@ -160,6 +160,7 @@ function RecentsCard({ versions, }: RecentsCardProps) { const versionInfo = getVersionInfo(version, versions); + const backgroundName = versionInfo?.backgroundName ?? 'MinecraftBuilding'; const entry = getOnlineEntryForVersion(version, versions); const onlineCluster = getOnlineClusterForVersion(version, versions); @@ -185,7 +186,7 @@ function RecentsCard({ /> ) : ( - + )}