From 8fc6ab8e6a553e22a7048856e94928b95739c5f0 Mon Sep 17 00:00:00 2001 From: leca Date: Mon, 27 Jan 2025 17:02:23 +0300 Subject: [PATCH] fixed bug --- frontend/src/pages/PostActions.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/PostActions.tsx b/frontend/src/pages/PostActions.tsx index a67032c..5bc1bde 100644 --- a/frontend/src/pages/PostActions.tsx +++ b/frontend/src/pages/PostActions.tsx @@ -18,6 +18,7 @@ function PostActions() { if (oldPostContent.type == 1) { setIsMedia(true) } + setOldPost(oldPostContent); } } @@ -76,7 +77,7 @@ function PostActions() { ) : ( - + )}