Merge pull request #3781 from urbit/lf/link-comment-fix

links: fix comment submission
This commit is contained in:
matildepark 2020-10-22 19:40:41 -04:00 committed by GitHub
commit d794d5bb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
import React, { Component } from 'react';
import { Spinner } from '~/views/components/Spinner';
import { createPost } from '~/logic/api/graph';
import { deSig } from "~/logic/lib/util";
export class CommentSubmit extends Component {
@ -22,7 +23,7 @@ export class CommentSubmit extends Component {
this.setState({ disabled: true }, () => {
this.props.api.graph.addPost(
`~${this.props.ship}`,
`~${deSig(this.props.ship)}`,
this.props.name,
post
).then((r) => {