-
- {pathname === '/mypage'
- ? '계정관리'
- : selectedDashboard.title || '내 대시보드'}
-
+
{title}
- {selectedDashboard.createdByMe && pathname !== '/mypage' && (
+ {showCrown && (
-
- openModal('invite')}
- iconSrc="/images/invitation.png"
- label="초대하기"
- />
+ {!isMyDashboardPage && (
+ <>
+
+ openModal('invite')}
+ iconSrc="/images/invitation.png"
+ label="초대하기"
+ />
+ >
+ )}
)
}
diff --git a/src/app/shared/hooks/useMembers.ts b/src/app/shared/hooks/useMembers.ts
index 1fd6bf4..65ad403 100644
--- a/src/app/shared/hooks/useMembers.ts
+++ b/src/app/shared/hooks/useMembers.ts
@@ -14,7 +14,7 @@ export type Member = {
const teamId = getTeamId()
-export async function fetchMembers(dashboardId: string): Promise {
+export async function fetchMembers(dashboardId: number): Promise {
const { data } = await authHttpClient.get(`/${teamId}/members`, {
params: {
page: 1,
diff --git a/tailwind.config.ts b/tailwind.config.ts
index c896f70..1af6392 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -19,6 +19,7 @@ const config: Config = {
screens: {
mobile: { max: '375px' }, // 0 ~ 375px
tablet: { raw: '(min-width: 376px) and (max-width: 744px)' }, // 376 ~ 1919px
+ 'mobile-sm': { max: '500px' }, // 0 ~ 500px
'mobile-wide': { raw: '(min-width: 0px) and (max-width: 683px)' }, // 0 ~ 683px
'tablet-wide': { raw: '(min-width: 684px) and (max-width: 1439px)' }, // 684 ~ 1439px
},