fix: fix getSpaceId

This commit is contained in:
0xzio
2024-10-27 23:50:21 +08:00
parent 5f8fefadfd
commit cd887aed5e

View File

@@ -1,6 +1,6 @@
'use client'
export async function getSpaceId() {
export function getSpaceId() {
const site = (window as any).__SITE__
return site?.spaceId as string
}