Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
},
"devDependencies": {
"lerna": "3.20.2"
},
"resolutions": {
"pull-ws": "3.3.2"
}
}
8 changes: 6 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,19 @@
"gatsby": "^2.18.4",
"gatsby-plugin-emotion": "^4.1.22",
"gatsby-plugin-eslint": "^2.0.8",
"gatsby-plugin-force-trailing-slashes": "^1.0.4",
"gatsby-plugin-google-fonts": "1.0.1",
"gatsby-plugin-ipfs": "2.0.2",
"gatsby-plugin-layout": "1.1.22",
"gatsby-plugin-manifest": "2.3.3",
"gatsby-plugin-google-fonts": "1.0.1",
"gatsby-plugin-react-helmet": "^3.1.16",
"gatsby-plugin-react-svg": "^2.1.2",
"gatsby-plugin-force-trailing-slashes": "^1.0.4",
"gatsby-plugin-theme-ui": "0.3.0",
"gatsby-source-filesystem": "^2.1.40",
"gatsby-source-graphql": "2.1.28",
"graphql": "^14.5.8",
"moment": "2.24.0",
"node": "^15.10.0",
"numeral": "^2.0.6",
"qrcode.react": "^1.0.0",
"query-string": "6.11.0",
Expand All @@ -73,5 +74,8 @@
},
"bugs": {
"url": "https://github.com/graphprotocol/everest/ui"
},
"resolutions": {
"pull-ws": "3.3.2"
}
}
14 changes: 11 additions & 3 deletions ui/src/pages/projects/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,23 @@ const NewProject = () => {
!(
value.length > 0 &&
project.categories &&
project.categories.length > 0
project.categories.length > 0 &&
(
daiAmount &&
parseFloat(daiAmount) >= 10
)
),
)
} else {
setIsDisabled(
!(
value.length > 0 &&
project.description !== '' &&
project.name !== ''
project.name !== '' &&
(
daiAmount &&
parseFloat(daiAmount) >= 10
)
),
)
}
Expand Down Expand Up @@ -266,7 +274,7 @@ const NewProject = () => {
fontWeight: 'heading',
}}
>
You need at least 10 DAI in order to add a project. Please add more
* You need at least 10 DAI in order to add a project. Please add more
DAI to your Wallet.
</Styled.h6>
)}
Expand Down