1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { useState, useEffect } from "react";
|
||||
import { View, Text, ScrollView, Image } from "@tarojs/components";
|
||||
import { withAuth, EmptyState, GeneralNavbar } from "@/components";
|
||||
import { useGlobalState } from "@/store/global";
|
||||
import FollowService from "@/services/followService";
|
||||
import { formatShortRelativeTime } from "@/utils/timeUtils";
|
||||
import Taro from "@tarojs/taro";
|
||||
@@ -23,6 +24,8 @@ const NewFollow = () => {
|
||||
const [followList, setFollowList] = useState<FollowItem[]>([]);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [refreshing, setRefreshing] = useState(false);
|
||||
const { statusNavbarHeightInfo } = useGlobalState() || {};
|
||||
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
|
||||
|
||||
useEffect(() => {
|
||||
getFollowList();
|
||||
@@ -211,6 +214,7 @@ const NewFollow = () => {
|
||||
<ScrollView
|
||||
scrollY
|
||||
className="follow-scroll"
|
||||
style={{ paddingTop: `${totalHeight}px` }}
|
||||
scrollWithAnimation
|
||||
enhanced
|
||||
showScrollbar={false}
|
||||
|
||||
Reference in New Issue
Block a user