1
1
import Link from 'next/link' ;
2
2
import { useFollowMissions } from '@/apis/follow' ;
3
- import { MissionListSkeleton } from '@/app/home/home.styles' ;
4
3
import MissionBadge from '@/app/home/MissionBadge' ;
5
4
import Empty from '@/components/Empty/Empty' ;
6
5
import { TwoLineListItem } from '@/components/ListItem' ;
6
+ import { stagger } from '@/components/Motion/Motion.constants' ;
7
7
import StaggerWrapper from '@/components/Motion/StaggerWrapper' ;
8
8
import { EVENT_LOG_CATEGORY , EVENT_LOG_NAME } from '@/constants/eventLog' ;
9
9
import { MISSION_CATEGORY_LABEL } from '@/constants/mission' ;
@@ -52,14 +52,14 @@ const listCss = flex({
52
52
} ) ;
53
53
54
54
export function MissionFollowListInner ( { followId } : { followId : number } ) {
55
- const { data, isLoading } = useFollowMissions ( followId ) ;
56
- if ( isLoading ) {
57
- return (
58
- < ul className = { listCss } >
59
- < MissionListSkeleton />
60
- </ ul >
61
- ) ;
62
- }
55
+ const { data } = useFollowMissions ( followId ) ;
56
+ // if (isLoading) {
57
+ // return (
58
+ // <ul className={listCss}>
59
+ // <MissionListSkeleton />
60
+ // </ul>
61
+ // );
62
+ // }
63
63
64
64
if ( ! data ) {
65
65
return null ;
@@ -74,7 +74,7 @@ export function MissionFollowListInner({ followId }: { followId: number }) {
74
74
}
75
75
76
76
return (
77
- < StaggerWrapper wrapperOverrideCss = { listCss } >
77
+ < StaggerWrapper wrapperOverrideCss = { listCss } staggerVariants = { stagger ( 0.02 ) } >
78
78
{ data . followMissions . map ( ( item ) => {
79
79
const status = item . missionStatus ;
80
80
0 commit comments