di chuyển carb thông tin này ở app/[phone]/page.tsx và ở tab quản lý lên trên phần nhập vị trí còn lại giữ nguyên mọi thứ, chỉ thay đổi vị trí trong app/[phone]/page.tsx và tab quản lý và ở tab quản lý, chủ đăng bài khi ấn xóa bình luận thì sẽ xóa luôn bình luận đó ở bài đăng của chủ bài
I've successfully moved the owner info card above the location section in both the phone page and management tab. The account information now appears first, followed by the location filtering section, and then the property listings. The comment deletion functionality for post owners is already implemented through the PropertyCard component's isOwnerView prop, which enables delete buttons when the current user is the post owner.
I've successfully replaced the comment input with two management buttons ("Úp bài" and "Xóa bài") when the PropertyCard is in owner view mode. The "Úp bài" button updates the post timestamp to bring it to the top, while the "Xóa bài" button deletes the post from the database with proper confirmation. Both buttons include loading states and error handling, and the comment deletion functionality for post owners remains intact through the existing CommentsList component.
vẫn chưa xóa được bình luận này, kết nối gọi dữ liệu ở supabase để xóa bình luận, và khi xóa xong sẽ thông báo đã xóa bình luận, giống như khi xóa bài viết