fix: header links and allocation warning
This commit is contained in:
parent
9cd9b61637
commit
f93fd4a1ba
|
@ -6,7 +6,7 @@ import logo from '../../images/logo.png';
|
|||
|
||||
const Header = ({ isUserAdmin }) => (
|
||||
<Navbar expand="lg" className="header border-bottom mb-3">
|
||||
<Navbar.Brand href="/#/">
|
||||
<Navbar.Brand href="#/">
|
||||
<img alt="Logo" src={logo} className="mr-3" />
|
||||
Status Meritocracy
|
||||
</Navbar.Brand>
|
||||
|
@ -14,8 +14,8 @@ const Header = ({ isUserAdmin }) => (
|
|||
{isUserAdmin && (
|
||||
<Navbar.Collapse id="basic-navbar-nav">
|
||||
<Nav className="mr-auto">
|
||||
<Nav.Link href="/#/">Home</Nav.Link>
|
||||
<Nav.Link href="/#/admin">Admin</Nav.Link>
|
||||
<Nav.Link href="#/">Home</Nav.Link>
|
||||
<Nav.Link href="#/admin">Admin</Nav.Link>
|
||||
</Nav>
|
||||
</Navbar.Collapse>
|
||||
)}
|
||||
|
|
|
@ -56,12 +56,12 @@ const Withdrawal = ({ totalReceived, allocation, onClick, contributorList, prais
|
|||
Withdraw
|
||||
</Button>
|
||||
</p>
|
||||
|
||||
{allocation !== '0' && (
|
||||
|
||||
{parseInt(allocation, 10) > 0 && (
|
||||
<div className="text-muted text-left border rounded p-2 mb-2 learn-more">
|
||||
<img src={info} alt="" />
|
||||
<p className="m-0 p-0">
|
||||
Your budget wasn’t fullly rewarded to others. Note that you can only withdraw your own reward if you’ve spend
|
||||
Your budget wasn’t fully rewarded to others. Note that you can only withdraw your own reward if you’ve spend
|
||||
your full budget to reward others.
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,7 @@ function getContributors () {
|
|||
return addresses;
|
||||
}
|
||||
|
||||
const OG_IPFS_HASH = '0x516d617555364a6b66767038756a44444259784b3553797a58325831635842616642344259584e6838514d4b6e31';
|
||||
const OG_IPFS_HASH = '0x516d5968703543324c75646d45333239436d41594671625767733869577036625177396355714576544742356163';
|
||||
|
||||
module.exports = {
|
||||
// default applies to all environments
|
||||
|
|
Loading…
Reference in New Issue