diff --git a/src/components/Timeline/Modals/ConnectionsModal.tsx b/src/components/Timeline/Modals/ConnectionsModal.tsx index 4f79af0..22156ad 100644 --- a/src/components/Timeline/Modals/ConnectionsModal.tsx +++ b/src/components/Timeline/Modals/ConnectionsModal.tsx @@ -5,6 +5,7 @@ import UserListItem from '../UserListItem' import { useGetUserFollow, useGetUserFollowers } from '@/services/connection' import { useUniStore } from '@/store/store' import UserListItemSkeleton from '@/components/Connections/UserListItemSkeleton' +import { FollowingItemProps } from '@/types/constants' const ConnectionsModal = () => { const [content, setContent] = useState<'Following' | 'Followers'>('Following') @@ -40,7 +41,7 @@ const ConnectionsModal = () => {

You are not Following anyone.

) : ( content === 'Following' && - userFollow?.profile?.map((item: any, index: number) => ( + userFollow?.profile?.map((item: FollowingItemProps, index: number) => ( {

You have 0 Followers

) : ( content === 'Followers' && - userFollowers?.profile?.map((item: any, index: number) => ( + userFollowers?.profile?.map((item: FollowingItemProps, index: number) => (