0.0.1.1
This commit is contained in:
+1
-4
@@ -29,13 +29,10 @@ interface ActivityLog {
|
||||
}
|
||||
|
||||
export default function DashboardPage() {
|
||||
const { treeData, currentTree, isLoading } = useFamily()
|
||||
const { treeData, isLoading, currentTree } = useFamily()
|
||||
const { data: session } = useSession()
|
||||
const [recentActivities, setRecentActivities] = useState<ActivityLog[]>([])
|
||||
|
||||
// 调试日志
|
||||
console.log('Dashboard - treeData:', treeData, 'currentTree:', currentTree?.name, 'isLoading:', isLoading)
|
||||
|
||||
// 加载最近的操作日志
|
||||
useEffect(() => {
|
||||
if (currentTree?.id && session?.user?.id) {
|
||||
|
||||
Reference in New Issue
Block a user