import { View, Text } from "@tarojs/components";
import Activity from '@/features/trackSomething/components/Activity'
import { useDidShow, useReady } from "@tarojs/taro";
import { activityCards } from "@/services/trackSomething";

export default function Page() {
    // useReady(()=>{
    //     activityCards().then(res=>{

    //     })
    // })

    useDidShow(() => {
        global.updateTab(2)
    })

    function refresh() {
        console.log('refresh')
    }
    return (
        <View>
            <Activity />
        </View>
    )
}