diff --git a/ui/src/components/create-post.tsx b/ui/src/components/create-post.tsx index eeb9bc6..ad013d0 100644 --- a/ui/src/components/create-post.tsx +++ b/ui/src/components/create-post.tsx @@ -35,7 +35,7 @@ export class CreatePost extends Component { get params(): PostFormParams { let urlParams = new URLSearchParams(this.props.location.search); let params: PostFormParams = { - name: urlParams.get('name'), + name: urlParams.get('title'), community: urlParams.get('community') || this.prevCommunityName, body: urlParams.get('body'), url: urlParams.get('url'), diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 9682575..0ffabf2 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -807,7 +807,7 @@ export class PostListing extends Component { } get crossPostParams(): string { - let params = `?name=${this.props.post.name}`; + let params = `?title=${this.props.post.name}`; if (this.props.post.url) { params += `&url=${this.props.post.url}`; }