File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
feature/todo/todoList/components Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 33/** TodoList 빈 상태 컴포넌트 */
44export const TodoListEmpty = ( ) => {
55 return (
6- < div className = "flex flex-col items-center justify-center px-0 py-[16px]" >
7- < p className = "text-[15px] font-normal text-[#878a93] leading-[1.6] tracking-[0.2175px] text-center" >
8- 현재 등록된 투두가 없습니다.
9- < br />
10- 새로운 투두를 만들어보세요!
11- </ p >
6+ < div className = "flex flex-col gap-[28px] mt-[20px] mb-[20px]" >
7+ < div className = "flex flex-col items-center justify-center px-0 py-[16px]" >
8+ < p className = "text-[15px] font-normal text-[#878a93] leading-[1.6] tracking-[0.2175px] text-center" >
9+ 현재 등록된 투두가 없습니다.
10+ < br />
11+ 새로운 투두를 만들어보세요!
12+ </ p >
13+ </ div >
1214 </ div >
1315 ) ;
1416} ;
Original file line number Diff line number Diff line change @@ -84,11 +84,7 @@ export const PlanSelect = () => {
8484} ;
8585
8686export const PlanProvider = ( { children } : PlanProviderProps ) => {
87- const { isLoading, goalList, currentGoal } = useGoalSelector ( ) ;
88-
89- if ( ( ! isLoading && goalList . length === 0 ) || ! currentGoal ) {
90- return < CreateNewGoal /> ;
91- }
87+ const { currentGoal } = useGoalSelector ( ) ;
9288
9389 return < PlanSelectorProvider goal = { currentGoal ! } > { children } </ PlanSelectorProvider > ;
9490} ;
You can’t perform that action at this time.
0 commit comments