Commit 4a696fb9 authored by Efe's avatar Efe Committed by Jonathan Porta
Browse files

change method name

parent 44adb499
......@@ -93,7 +93,7 @@ class SteemProposalSystem extends React.Component {
}
}
constructPermlink(creator, permlink) {
getSpsUrl(creator, permlink) {
const { social_url } = global.$STM_Config;
return `${social_url || ''}/@${creator}/${permlink}`;
}
......@@ -221,10 +221,7 @@ class SteemProposalSystem extends React.Component {
return [
<a
href={this.constructPermlink(
proposal.get('creator'),
value
)}
href={this.getSpsUrl(proposal.get('creator'), value)}
target="__blank"
key={`proposal-extlink-${value}`}
title="Perm link"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment