import React from 'react';
import { View, } from '@tarojs/components';
import { check_login_status } from '../../services/loginService';
import Taro from '@tarojs/taro';
const HomePage: React.FC = () => {
    let login_status = check_login_status()
    if (login_status) {
        Taro.redirectTo({ url: '/pages/list/index' })
    }
    else {
        Taro.redirectTo({ url: '/pages/login/index/index' })
    }

    return (
        <View className="home_page">

        </View>)

}

export default HomePage;