fix: custom code boolean variable

This commit is contained in:
hamster1963
2024-12-18 11:46:07 +08:00
parent 45dc3f7935
commit a00df7ea04
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
const showFlag = true
// @ts-expect-error ShowNetTransfer is a global variable
const showNetTransfer = window.ShowNetTransfer === "true"
const showNetTransfer = window.ShowNetTransfer as boolean
const parsedData = parsePublicNote(public_note)