diff --git a/src/app/prepare/page.tsx b/src/app/prepare/page.tsx
index 8207543..b586066 100644
--- a/src/app/prepare/page.tsx
+++ b/src/app/prepare/page.tsx
@@ -39,7 +39,7 @@ export default function Page() {
steam.setCsDir(e.target.value)
}}
/>
-
当前用户64位SteamID:{steam.currentUser()?.steamID64}
+ 当前用户64位SteamID:{steam.currentUser()?.steam_id64}
)
diff --git a/src/components/cstb/SteamUsers.tsx b/src/components/cstb/SteamUsers.tsx
index 4075e18..88946d6 100644
--- a/src/components/cstb/SteamUsers.tsx
+++ b/src/components/cstb/SteamUsers.tsx
@@ -54,7 +54,7 @@ const SteamUsers = ({ className }: { className?: string }) => {
{user.steam_id32}
- {user.steam_id64?.toString()}
+ {user.steam_id64.toString()}
{user.recent > 0 && (
diff --git a/src/components/window/SideBar.tsx b/src/components/window/SideBar.tsx
index bb7f568..db26bc6 100644
--- a/src/components/window/SideBar.tsx
+++ b/src/components/window/SideBar.tsx
@@ -55,7 +55,7 @@ const Avatar = () => {
{
setUsers(users)
}
-const selectUser = async (index: number) => {
+const selectUser = (index: number) => {
const user = steamStore.state.users.at(index)
console.log(index, user)
if (user) {
diff --git a/src/types/steam.ts b/src/types/steam.ts
index ed2a16e..4ec47ee 100644
--- a/src/types/steam.ts
+++ b/src/types/steam.ts
@@ -1,7 +1,7 @@
import type { AdvancedListItem } from "@/types/common"
export interface SteamUser extends AdvancedListItem {
- steam_id64: BigInt
+ steam_id64: bigint
steam_id32: number
account_name: string
persona_name: string