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

use social_url for sps link

parent 0d18e559
...@@ -94,7 +94,8 @@ class SteemProposalSystem extends React.Component { ...@@ -94,7 +94,8 @@ class SteemProposalSystem extends React.Component {
} }
constructPermlink(creator, permlink) { constructPermlink(creator, permlink) {
return `/@${creator}/${permlink}`; const { social_url } = global.$STM_Config;
return `${social_url || ''}/@${creator}/${permlink}`;
} }
getVoterProposals(user) { getVoterProposals(user) {
......
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