fix: 修复开发环境判断

This commit is contained in:
richarjiang
2025-08-30 17:11:51 +08:00
parent 741688065d
commit f4dd40ed46
3 changed files with 6 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ export default function ExploreScreen() {
const stepGoal = useAppSelector((s) => s.user.profile?.dailyStepsGoal) ?? 2000;
// 开发调试设置为true来使用mock数据
const useMockData = true; // 改为true来启用mock数据调试
const useMockData = __DEV__; // 改为true来启用mock数据调试
const { pushIfAuthedElseLogin, isLoggedIn } = useAuthGuard();