File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
57
57
isTemp,
58
58
initialBody,
59
59
initialTitle,
60
+ tags,
60
61
} = useSelector ( ( state : RootState ) => state . write ) ;
61
62
const [ writePost ] = useMutation < WritePostResponse > ( WRITE_POST ) ;
62
63
const [ createPostHistory ] = useMutation < CreatePostHistoryResponse > (
@@ -168,7 +169,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
168
169
variables : {
169
170
title,
170
171
body : markdown ,
171
- tags : [ ] ,
172
+ tags,
172
173
is_markdown : true ,
173
174
is_temp : true ,
174
175
is_private : false ,
@@ -199,7 +200,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
199
200
thumbnail : null ,
200
201
meta : { } ,
201
202
series_id : null ,
202
- tags : [ ] ,
203
+ tags,
203
204
} ,
204
205
} ) ;
205
206
notifySuccess ( ) ;
@@ -234,6 +235,7 @@ const MarkdownEditorContainer: React.FC<MarkdownEditorContainerProps> = () => {
234
235
lastSavedData ,
235
236
markdown ,
236
237
postId ,
238
+ tags ,
237
239
title ,
238
240
writePost ,
239
241
] ,
You can’t perform that action at this time.
0 commit comments