Skip to content

Commit f166df0

Browse files
authored
[#215] Fix: 유저페이지 수정 및 그 외 간단한 작업 (#216)
1 parent 1e37640 commit f166df0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const RootLayout = ({
2828
return (
2929
<html lang='ko'>
3030
<head>
31-
<link rel='icon' href='/icon-512x512.png' sizes='any' />
31+
<link rel='icon' href='/app-Icon/icon-512x512.png' sizes='any' />
3232
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_MEASUREMENT_ID!} />
3333
</head>
3434
<body className='font-sans'>

src/app/users/[userId]/hooks/useFollow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import Toast from '@/src/components/Toast';
66

77
export const useFollow = (userId: string) => {
88
const { userId: myId } = useGetUserStatusAPI();
9-
const postFollow = usePostFollowAPI(userId, myId.toString());
10-
const deleteFollow = useDeleteFollowAPI(userId, myId.toString());
9+
const postFollow = usePostFollowAPI(userId, myId?.toString());
10+
const deleteFollow = useDeleteFollowAPI(userId, myId?.toString());
1111

1212
const { login: isLogin } = useGetUserStatusAPI();
1313
const router = useRouter();

src/components/MoreMenu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const MoreItem = ({
3737
children,
3838
}: PropsWithChildren<MoreMenuItemProps>) => {
3939
return (
40-
<DropdownMenu.Item onSelect={onSelect}>
40+
<DropdownMenu.Item onSelect={onSelect} className='cursor-pointer'>
4141
{children || label}
4242
</DropdownMenu.Item>
4343
);

0 commit comments

Comments
 (0)