-
친구 목록
-
-
- {friends.length === 0 ? (
-
친구가 없습니다.
- ) : (
-
- {friends.map(friend => (
- -
- {friend.email}
-
-
- ))}
-
- )}
+
+
+ 친구 목록
+
+
+ {friends.map(friend => (
+
+
+
+ {friend.email}
+
+
+
+
+
+
+ ))}
+
+ setShowDialog(true)}
+ sx={{
+ height: '100%',
+ display: 'flex',
+ justifyContent: 'center',
+ alignItems: 'center',
+ cursor: 'pointer',
+ }}
+ >
+
+
+ + 친구 추가
+
+
+
+
+
{showDialog && setShowDialog(false)} />}
-
+
)
}
diff --git a/src/pages/FriendRequests.tsx b/src/pages/FriendRequests.tsx
deleted file mode 100644
index 53de455..0000000
--- a/src/pages/FriendRequests.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { Box, Typography } from '@mui/material'
-
-export default function FriendRequests() {
- return (
-