From 87e0fa4362c09002a5fc9b719baef020187a1324 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Fri, 5 Mar 2021 15:34:40 +0200 Subject: [PATCH] fix: remove useless set --- .../src/components/PostList/PostListRow/index.jsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/concordia-app/src/components/PostList/PostListRow/index.jsx b/packages/concordia-app/src/components/PostList/PostListRow/index.jsx index d634456..2c1e9c1 100644 --- a/packages/concordia-app/src/components/PostList/PostListRow/index.jsx +++ b/packages/concordia-app/src/components/PostList/PostListRow/index.jsx @@ -123,9 +123,6 @@ const PostListRow = (props) => { .put(postId.toString(), { [POST_CONTENT]: editedPostContent, }) - .then(() => { - setPostContent(editedPostContent); - }) .catch((reason) => { console.error(reason); });