diff --git a/README.md b/README.md index ff6ba0239..4fb1acdee 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ yarn start:[network] # yarn start:xdai ``` +> **Tip:** +> Make sure you provide the environment variable of the RPC node when running on xDai. e.g. +> `REACT_APP_ETH_NODE=https://rpc.xdaichain.com/ yarn start:xdai` + ### Environment variables diff --git a/src/components/Feed/ProposalCreator.js b/src/components/Feed/ProposalCreator.js index 2222b0f1d..19c87eb50 100644 --- a/src/components/Feed/ProposalCreator.js +++ b/src/components/Feed/ProposalCreator.js @@ -1,4 +1,5 @@ import React, { useEffect, useState } from 'react' +import { Link } from 'react-router-dom' import { EthIdenticon, GU, @@ -54,23 +55,33 @@ function ProposalCreator({ proposal }) { display: flex; `} > -
- {profile?.image ? ( - - ) : ( - - )} -
+ +
+ {profile?.image ? ( + + ) : ( + + )} +
+
- - {profile?.name - ? profile.name - : shortenAddress(proposal.creator)} - + + {profile?.name + ? profile.name + : shortenAddress(proposal.creator)} + + {proposal.type === ProposalTypes.Decision ? ( diff --git a/src/components/Feed/ProposalInfo.js b/src/components/Feed/ProposalInfo.js index c4e241071..b69ebf984 100644 --- a/src/components/Feed/ProposalInfo.js +++ b/src/components/Feed/ProposalInfo.js @@ -18,7 +18,12 @@ function ProposalInfo({ loading, proposal, onSelectProposal }) { const tokenIcon = getTokenIconBySymbol(primaryToken.symbol) return ( -
+
- - {compactMode ? ( - - ) : ( + + +
+
+ +
-
- -
-
-
- Community -
- - Discord - - - Github - - - Twitter - - - Telegram - - - Forum - -
-
-
- Documentation -
- - Wiki - - - Bug Bounty - - - FAQs - -
+
+ Community +
+ + Discord + + + Github + + + Twitter + + + Telegram + + + Forum + +
+
+
+ Documentation +
+ + Wiki + + + Bug Bounty + + + FAQs +
- )} +
+ )
)