diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index b9597fed..9318d3bb 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -136,7 +136,11 @@ export class MarkdownTextArea extends Component< return (
diff --git a/src/shared/components/post/create-post.tsx b/src/shared/components/post/create-post.tsx index fd60503b..ee2600d2 100644 --- a/src/shared/components/post/create-post.tsx +++ b/src/shared/components/post/create-post.tsx @@ -225,8 +225,6 @@ export class CreatePost extends Component< const postId = res.data.post_view.post.id; this.props.history.replace(`/post/${postId}`); } - - return res; } static fetchInitialData({