Skip to content

Commit 9442a03

Browse files
committed
Merge branch 'fix/post-edit'
2 parents ca0400e + 995c6be commit 9442a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)