diff --git a/frontend/src/components/PostCard.jsx b/frontend/src/components/PostCard.jsx index 61e01cd..67b0ff2 100644 --- a/frontend/src/components/PostCard.jsx +++ b/frontend/src/components/PostCard.jsx @@ -29,6 +29,7 @@ export default function PostCard({ post, currentUser, onUpdate }) { const [showFullView, setShowFullView] = useState(false) const [showComments, setShowComments] = useState(false) const [showMenu, setShowMenu] = useState(false) + const [menuButtonPosition, setMenuButtonPosition] = useState(null) // Проверка на существование автора if (!post.author) { @@ -168,8 +169,17 @@ export default function PostCard({ post, currentUser, onUpdate }) { + +