diff options
author | Dessalines <tyhou13@gmx.com> | 2019-12-28 21:10:07 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-12-28 21:10:07 -0500 |
commit | 1f3a16b159a8e83ac4d68e51c59a196fba427f24 (patch) | |
tree | 642ae848c82c1fa20cfed49bd91243735e60c44f /ui/src/components/post-form.tsx | |
parent | ecf792af3bb0035fc175d28cd25521e77199b0fc (diff) |
Post editing fix.
Diffstat (limited to 'ui/src/components/post-form.tsx')
-rw-r--r-- | ui/src/components/post-form.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index d3cf275a..7e60b2b0 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -80,7 +80,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> { this.state.postForm = { body: this.props.post.body, // NOTE: debouncing breaks both these for some reason, unless you use defaultValue - name: undefined, + name: this.props.post.name, community_id: this.props.post.community_id, edit_id: this.props.post.id, creator_id: this.props.post.creator_id, |