mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-22 14:13:49 +08:00
feat(account): polish reviews favorites and account UI
This commit is contained in:
@@ -14,6 +14,7 @@ const isSparkUser = (value: unknown): value is SparkUser => {
|
||||
typeof user.username === "string" &&
|
||||
typeof user.displayName === "string" &&
|
||||
typeof user.avatarUrl === "string" &&
|
||||
(user.coverUrl === undefined || typeof user.coverUrl === "string") &&
|
||||
typeof user.forumLevel === "string" &&
|
||||
Array.isArray(user.forumGroups) &&
|
||||
user.forumGroups.every((group) => typeof group === "string")
|
||||
|
||||
Reference in New Issue
Block a user