diff --git a/src/app/user/projects/[id]/page.tsx b/src/app/user/projects/[id]/page.tsx index 880d2ce..44a36f3 100644 --- a/src/app/user/projects/[id]/page.tsx +++ b/src/app/user/projects/[id]/page.tsx @@ -143,7 +143,6 @@ export default function ProjectDetailsPage() { }; const handleRemoveMember = async (userId: string) => { - // 1. Hiển thị hộp thoại xác nhận bằng SweetAlert2 const result = await Swal.fire({ title: "Xác nhận xóa?", text: "Bạn có chắc chắn muốn xóa thành viên này khỏi dự án?", @@ -263,18 +262,18 @@ export default function ProjectDetailsPage() { {[ { id: "overview", - label: "Overview", + label: "Tổng quan", icon: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z", }, { id: "members", - label: `Members`, + label: `Thành viên`, count: project.members?.length || 0, icon: "M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z", }, { id: "settings", - label: "Settings", + label: "Cài đặt", icon: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z", }, ].map((tab) => ( @@ -324,7 +323,7 @@ export default function ProjectDetailsPage() {