diff --git a/src/apis/user.ts b/src/apis/user.ts index b8b226ae..38378bbe 100644 --- a/src/apis/user.ts +++ b/src/apis/user.ts @@ -1,6 +1,6 @@ import type { GetUserResponseType, GetUserRequestType, PatchMeRequestType } from '@/schema/user'; -import httpClient from '.'; import TOKEN from '@/lib/constants'; +import httpClient from '.'; export const getMe = async (): Promise => { const response = await httpClient.get('/users/me', { diff --git a/src/components/epigram/MoreOptionMenu.tsx b/src/components/epigram/MoreOptionMenu.tsx index 271f3db2..ad4d4778 100644 --- a/src/components/epigram/MoreOptionMenu.tsx +++ b/src/components/epigram/MoreOptionMenu.tsx @@ -3,17 +3,20 @@ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigge function MoreOptionsMenu() { return ( - - - - - - 수정 - 삭제 - - +
+ + + + + {/* NOTE: width를 조정할려면 Dropdown컴포넌트에서 min-w 수정 필요 */} + + 수정 + 삭제 + + +
); } diff --git a/src/pageLayout/Epigram/EpigramFigure.tsx b/src/pageLayout/Epigram/EpigramFigure.tsx index efafac50..f93dabe6 100644 --- a/src/pageLayout/Epigram/EpigramFigure.tsx +++ b/src/pageLayout/Epigram/EpigramFigure.tsx @@ -7,12 +7,14 @@ function EpigramFigure({ epigram, currentUserId }: EpigramFigureProps) { return (
-
- {epigram.tags.map((tag) => ( -

- #{tag.name} -

- ))} +
+
+ {epigram.tags.map((tag) => ( +

+ #{tag.name} +

+ ))} +
{isAuthor && }