Skip to content

Commit 995c6be

Browse files
committedMar 19, 2024·
fix: markdownEditor for edit post
1 parent ca0400e commit 995c6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/containers/write/MarkdownEditorContainer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
188188
}
189189

190190
// tempsaving unreleased post:
191-
if (isTemp) {
191+
if (isTemp && postId) {
192192
await editPost({
193193
variables: {
194194
id: postId,

0 commit comments

Comments
 (0)
Please sign in to comment.