fix: undefined env vars intermediate value

This commit is contained in:
James Xylight committed 2025-09-06 11:51:45 -07:00
1 parent 6166dbf3f4
commit 13e6baf097
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@
>
<Icon src={ServerStack} size="16" micro />
</Button>
{#if env.PUBLIC_XYLIGHT_MODE.toLowerCase() == 'true'}
{#if env.PUBLIC_XYLIGHT_MODE?.toLowerCase() == 'true'}
<Button
color="tertiary"
href="https://github.com/Xyphyn/Photon"