mirror of
https://github.com/urbit/shrub.git
synced 2024-11-25 07:12:10 +03:00
Merge pull request #3781 from urbit/lf/link-comment-fix
links: fix comment submission
This commit is contained in:
commit
d794d5bb05
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user