Skip to content

Commit 522849c

Browse files
authored
Merge pull request #93 from part3-4team-Taskify/feature/Gnb
[Refactor, Feat] Gnb: 헤더 컴포넌트 병합, 스타일 공통화 / 대시보드 타이틀 api 연동
2 parents 9ff6e2e + 8058b73 commit 522849c

File tree

11 files changed

+184
-443
lines changed

11 files changed

+184
-443
lines changed
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// 예: src/lib/api/cards.ts
21
import axiosInstance from "./axiosInstance";
32

43
export const getCardsByColumn = async ({
@@ -50,3 +49,14 @@ export const getDashboards = async ({
5049

5150
return res.data;
5251
};
52+
53+
export const getDashboardById = async ({
54+
teamId,
55+
dashboardId,
56+
}: {
57+
teamId: string;
58+
dashboardId: number;
59+
}) => {
60+
const res = await axiosInstance.get(`/${teamId}/dashboards/${dashboardId}`);
61+
return res.data;
62+
};

src/components/gnb/HeaderBebridge.tsx

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)