Skip to content

Commit da06390

Browse files
committed
Merge branch 'fix/write-post'
2 parents 890bf75 + c090119 commit da06390

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/containers/write/MarkdownEditorContainer.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
6060
initialTitle,
6161
tags,
6262
isPrivate,
63+
selectedSeries,
6364
} = useSelector((state: RootState) => state.write);
6465
const uncachedClient = useUncachedApolloClient();
6566
const [writePost, { loading: isWritePostLoading }] =
@@ -199,7 +200,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
199200
url_slug: escapeForUrl(title),
200201
thumbnail: null,
201202
meta: {},
202-
series_id: null,
203+
series_id: selectedSeries?.id || null,
203204
tags,
204205
token: null,
205206
},

0 commit comments

Comments
 (0)