fix: header links and allocation warning

This commit is contained in:
Richard Ramos 2019-04-28 14:06:37 -04:00
parent 9cd9b61637
commit f93fd4a1ba
3 changed files with 7 additions and 7 deletions

View File

@ -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>
)}

View File

@ -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 wasnt fullly rewarded to others. Note that you can only withdraw your own reward if youve spend
Your budget wasnt fully rewarded to others. Note that you can only withdraw your own reward if youve spend
your full budget to reward others.
</p>
</div>

View File

@ -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