fix: undefined env vars intermediate value
This commit is contained in:
1 file changed
+1
-1
@@ -199,7 +199,7 @@
|
|||||||
>
|
>
|
||||||
<Icon src={ServerStack} size="16" micro />
|
<Icon src={ServerStack} size="16" micro />
|
||||||
</Button>
|
</Button>
|
||||||
{#if env.PUBLIC_XYLIGHT_MODE.toLowerCase() == 'true'}
|
{#if env.PUBLIC_XYLIGHT_MODE?.toLowerCase() == 'true'}
|
||||||
<Button
|
<Button
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
href="https://github.com/Xyphyn/Photon"
|
href="https://github.com/Xyphyn/Photon"
|
||||||
|
|||||||
Reference in new issue
Block a user