- {popularTodos.map((item, idx) => (
+ {popularTodos.slice(0, 3).map((item, idx) => (
{
+const ProfileCard = ({ jobId, jobName, todoGroupId }: ProfileCardProps) => {
const navigate = useNavigate();
- const { data: DreamerList, isLoading } = useJobOtherQuery(jobId);
+ const { data: DreamerList, isLoading } = useJobOtherQuery(todoGroupId);
if (isLoading) return
;
if (!DreamerList || DreamerList.length === 0)
diff --git a/src/pages/jobDetail/components/RecommendTodo.tsx b/src/pages/jobDetail/components/RecommendTodo.tsx
index cc6ef73..ccc0e77 100644
--- a/src/pages/jobDetail/components/RecommendTodo.tsx
+++ b/src/pages/jobDetail/components/RecommendTodo.tsx
@@ -1,4 +1,3 @@
-import Arrow from '@assets/icons/arrow.svg?react';
import DetailTab from './DetailTab';
const RecommendTodo = ({ jobId }: { jobId: number }) => {
@@ -6,10 +5,6 @@ const RecommendTodo = ({ jobId }: { jobId: number }) => {
diff --git a/src/pages/otherTodoList/OtherTodoListPage.tsx b/src/pages/otherTodoList/OtherTodoListPage.tsx
index 0a00b08..5bb90f2 100644
--- a/src/pages/otherTodoList/OtherTodoListPage.tsx
+++ b/src/pages/otherTodoList/OtherTodoListPage.tsx
@@ -111,6 +111,7 @@ const OtherTodoListPage = () => {
{eachTodos?.jobId && (
)}