Skip to content

Let's use AI to Earn!

fix: 1

牛文政a244b6e7c0e0
diff --git a/src/views/statistics/statistics.tsx b/src/views/statistics/statistics.tsx
index 8d4762e0..de8d75b4 100644
--- a/src/views/statistics/statistics.tsx
+++ b/src/views/statistics/statistics.tsx
@@ -560,8 +560,10 @@ const Statistics = () => {
</div>
<div className="absolute bottom-0 right-0 text-xs text-[#ccc]">
失效:{' '}
- {statisticsInfo!.accountTotal! -
- (statisticsInfo?.list?.length || 0)}
+ {!!statisticsInfo
+ ? (statisticsInfo.accountTotal ?? 0) -
+ (statisticsInfo.list?.length ?? 0)
+ : 0}
</div>
</div>
</div>