From 1ead187faba2789eb48fa444b7e78ba031a3bd24 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Wed, 18 Dec 2024 09:15:35 +0800 Subject: [PATCH] feat: customIllustration --- src/components/ServerOverview.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ServerOverview.tsx b/src/components/ServerOverview.tsx index ac7dc75..1fd7f8d 100644 --- a/src/components/ServerOverview.tsx +++ b/src/components/ServerOverview.tsx @@ -30,6 +30,9 @@ export default function ServerOverview({ // @ts-expect-error DisableAnimatedMan is a global variable const disableAnimatedMan = window.DisableAnimatedMan === "true" + // @ts-expect-error CustomIllustration is a global variable + const customIllustration = window.CustomIllustration || "/animated-man.webp" + return ( <>
@@ -133,7 +136,7 @@ export default function ServerOverview({ {"animated-man"} )}