Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy v2.30.0 #3179

Merged
merged 93 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
7ca0701
fix: add placeholder avatar to prevent layout jumping [Fixes #2809]
hueyhe May 7, 2021
f6d407f
made changes in the roadmap to display merged PRs
adi44 May 20, 2021
2bd7a26
made changes in the roadmap to display merged PRs
adi44 May 20, 2021
120719a
made changes in the roadmap to display merged PRs
adi44 May 20, 2021
fa713cc
made changes in the roadmap to display merged PRs
adi44 May 20, 2021
e80ae68
adds light/dark responsive theme colors
wackerow May 21, 2021
e467f3c
Delete package-lock.json
adi44 May 22, 2021
a65fe04
fix: hide contributors button until loaded
hueyhe May 23, 2021
bede9cd
Remove unused useEffect in FileContributors
minimalsm May 24, 2021
469bcfe
Remove unused BsTypeH3 import from react-icons
minimalsm May 24, 2021
aad1cd4
Remove unused Breadcrumbs import from use-cases template
minimalsm May 24, 2021
454715d
Remove unused BsTypeH3 import from react-icons on find wallet page
minimalsm May 24, 2021
c89b647
Remove unused Divider, Translation, and MarkdownTable imports from jo…
minimalsm May 24, 2021
5f3fe25
Remove unused Icon import on studio page
minimalsm May 24, 2021
f007c29
Add DefiPulse API generation instructions
minimalsm May 24, 2021
2291891
Add Etherscan API generation instructions
minimalsm May 24, 2021
e97c45d
Grammar fix: in > into
minimalsm May 24, 2021
d72fce5
More explicit wording (naming based on API providers naming on UI)
minimalsm May 24, 2021
931d337
Update index.md
Karthickmerk May 27, 2021
a1a4dc3
Added link to ABI explanation
ryancreatescopy May 27, 2021
acbcdf8
docs: update README.md [skip ci]
allcontributors[bot] May 27, 2021
22213dd
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 27, 2021
5d51d93
Merge pull request #3145 from ethereum/all-contributors/add-Karthickmerk
ryancreatescopy May 27, 2021
ac4e5cd
docs: update README.md [skip ci]
allcontributors[bot] May 27, 2021
f5e9432
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 27, 2021
f5d7f4c
Merge pull request #3147 from ethereum/all-contributors/add-ryancreat…
wackerow May 27, 2021
5560886
add new editors
lightclient May 27, 2021
94014c3
Bump dns-packet from 1.3.1 to 1.3.4
dependabot[bot] May 28, 2021
ac47e82
esp description patch
wackerow May 28, 2021
5266e9b
Merge pull request #3154 from ethereum/esp
wackerow May 28, 2021
d9ff64e
mistake in Ethereum address creation
Rub3cula May 28, 2021
ea73c4e
Add Oldship
minimalsm May 29, 2021
2dbe7c4
Add Sharding asset
minimalsm May 29, 2021
ee2cbdd
Add Docking asset
minimalsm May 29, 2021
cb6df01
Add Infrastructure asset
minimalsm May 29, 2021
4cc9493
Add Impact asset
minimalsm May 29, 2021
1d79077
Add Future asset
minimalsm May 29, 2021
f7b58b5
Add Finance asset
minimalsm May 29, 2021
8504a9f
Add Beacon chain asset
minimalsm May 29, 2021
ae21588
Reordering assets for improved aesthetics
minimalsm May 29, 2021
8d252c0
Add Defi asset
minimalsm May 29, 2021
0ca239d
Add DAO asset
minimalsm May 29, 2021
70fb8ae
Reorder graphql queries
minimalsm May 29, 2021
c6a28af
Add titles to JSON translation and refactor to pull title from the pa…
minimalsm May 29, 2021
ba00974
Reorder page-assets alphabetically
minimalsm May 29, 2021
842ffa6
Update StatBoxGrid development defaults
minimalsm May 29, 2021
ca79e4b
Add WallETH to CSV
minimalsm May 29, 2021
b545907
Add WallETH logo
minimalsm May 29, 2021
ae48f41
Add WallETH desc and alt
minimalsm May 29, 2021
d913b1c
Remove Hardware from WallETH
minimalsm May 29, 2021
61ab088
Change high volume purchases from true to false
minimalsm May 29, 2021
b2ea8d3
fix a typo
goojal May 30, 2021
c1546eb
docs: update README.md [skip ci]
allcontributors[bot] May 30, 2021
d321b4f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 30, 2021
cea580c
Merge pull request #3164 from ethereum/all-contributors/add-ryancreat…
wackerow May 30, 2021
1e8bb6d
Merge pull request #2989 from hueyhe/fix/layout-jumping
wackerow Jun 1, 2021
688aa07
docs: update README.md [skip ci]
allcontributors[bot] Jun 1, 2021
00ddf24
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 1, 2021
49cff35
Merge pull request #3171 from ethereum/all-contributors/add-hueyhe
wackerow Jun 1, 2021
66170ca
Merge pull request #3124 from minimalsm/cleanUnusedImports
wackerow Jun 1, 2021
6026ca8
Merge pull request #3125 from minimalsm/updateLocalDevInstructions
wackerow Jun 1, 2021
3b1564d
Merge pull request #3144 from Karthickmerk/patch-2
wackerow Jun 1, 2021
269cfc0
Merge pull request #3153 from ethereum/dependabot/npm_and_yarn/dns-pa…
wackerow Jun 1, 2021
edc80ab
Merge pull request #3159 from minimalsm/updateNetworkStatisticsInDeve…
wackerow Jun 1, 2021
08cf6b7
Merge pull request #3160 from minimalsm/addWallETHWallet
wackerow Jun 1, 2021
4c69861
Merge pull request #3163 from AmirAliM/typo_fix
wackerow Jun 1, 2021
4c65fdc
docs: update README.md [skip ci]
allcontributors[bot] Jun 1, 2021
7a4454f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 1, 2021
f5815f6
Merge pull request #3172 from ethereum/all-contributors/add-AmirAliM
wackerow Jun 1, 2021
d4ef4ce
Change docking to the merge. Change oldship to mainnet
minimalsm Jun 1, 2021
bfcff0b
Added Hackathon
minimalsm Jun 1, 2021
48198bc
Reorder assets
minimalsm Jun 1, 2021
c7c8ff9
Update page assets
minimalsm Jun 1, 2021
3a8b816
Merge pull request #3149 from lightclient/new-editors
samajammin Jun 1, 2021
c632f1b
Restores waffle say hello world tutorial
wackerow Jun 2, 2021
caa9a61
Merge pull request #3158 from minimalsm/updateAssetsPage
wackerow Jun 2, 2021
9d23c2d
Merge pull request #3173 from ethereum/waffle-hello-world
wackerow Jun 2, 2021
ab5cbf9
adds Keccak-256 hash name
wackerow Jun 2, 2021
cf98bb2
Merge pull request #3156 from Rub3cula/patch-2
wackerow Jun 2, 2021
f9d9a0d
docs: update README.md [skip ci]
allcontributors[bot] Jun 2, 2021
e10dee7
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 2, 2021
5bb6d42
Merge pull request #3174 from ethereum/all-contributors/add-Rub3cula
wackerow Jun 2, 2021
717a747
Update index.md
pawurb Jun 2, 2021
702889a
Merge pull request #3175 from pawurb/patch-1
wackerow Jun 2, 2021
da35834
docs: update README.md [skip ci]
allcontributors[bot] Jun 2, 2021
d8f4fcd
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 2, 2021
a7a5d38
Merge pull request #3176 from ethereum/all-contributors/add-pawurb
wackerow Jun 2, 2021
0f9cbc9
Merge pull request #3078 from adi44/aditya
wackerow Jun 2, 2021
cb05d85
docs: update README.md [skip ci]
allcontributors[bot] Jun 2, 2021
f8eb062
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 2, 2021
96ed9cd
Merge pull request #3177 from ethereum/all-contributors/add-adi44
wackerow Jun 2, 2021
5631da7
v2.30.0
wackerow Jun 2, 2021
7ff53d9
Merge pull request #3178 from ethereum/v2-30-0
wackerow Jun 2, 2021
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
61 changes: 60 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,12 @@
"profile": "https://github.com/ryancreatescopy",
"contributions": [
"doc",
"code"
"code",
"design",
"bug",
"ideas",
"review",
"content"
]
},
{
Expand Down Expand Up @@ -3805,6 +3810,60 @@
"contributions": [
"ideas"
]
},
{
"login": "Karthickmerk",
"name": "Karthickmerk",
"avatar_url": "https://avatars.githubusercontent.com/u/53270101?v=4",
"profile": "https://github.com/Karthickmerk",
"contributions": [
"ideas"
]
},
{
"login": "hueyhe",
"name": "Sihong",
"avatar_url": "https://avatars.githubusercontent.com/u/13460383?v=4",
"profile": "https://github.com/hueyhe",
"contributions": [
"code"
]
},
{
"login": "AmirAliM",
"name": "AmirAliM",
"avatar_url": "https://avatars.githubusercontent.com/u/8203572?v=4",
"profile": "https://github.com/AmirAliM",
"contributions": [
"content"
]
},
{
"login": "Rub3cula",
"name": "Rub3cula",
"avatar_url": "https://avatars.githubusercontent.com/u/63545006?v=4",
"profile": "https://github.com/Rub3cula",
"contributions": [
"content"
]
},
{
"login": "pawurb",
"name": "Paweł Urbanek",
"avatar_url": "https://avatars.githubusercontent.com/u/1131944?v=4",
"profile": "https://pawelurbanek.com",
"contributions": [
"content"
]
},
{
"login": "adi44",
"name": "Aditya Dhir",
"avatar_url": "https://avatars.githubusercontent.com/u/31381639?v=4",
"profile": "https://github.com/adi44",
"contributions": [
"bug"
]
}
],
"contributorsPerLine": 7,
Expand Down
34 changes: 32 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,35 @@ We recommend setting this up when running the project locally, as we use the Git
> - [Follow these instructions](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) to create a personal GitHub API token
> - When selecting scopes in step 7, leave everything unchecked (the data we fetch doesn't require any [scope](https://docs.github.com/en/developers/apps/scopes-for-oauth-apps#available-scopes))
> - In local repo root directory: Make a copy of `.env.example` and name it `.env`
> - Copy & paste your new GitHub API token in `.env`
> - Copy & paste your new GitHub API token into `.env`

```
// .env Example:
GATSBY_GITHUB_TOKEN_READ_ONLY=48f84de812090000demo00000000697cf6e6a059
```

5. Add Etherscan API token (free)

> - [Create an account](https://etherscan.io/) on Etherscan
> - Navigate to your Account Settings page
> - In the sidebar, click on 'API-KEYs' and add a new token
> - Copy & paste your Api-Key Token from Etherscan into `.env`

```
// .env Example:
ETHERSCAN_API_KEY=K6NUTARFJZJCIXHF1F1E1YGJZ8RQ29BE4U
```

6. Add DeFiPulse API token (free)

> - [Follow this guide](https://docs.defipulse.com/quick-start-guide) to create an account and get your DeFiPulse API token
> - Copy & paste your Active API Key from DeFiPulse into `.env`

```
// .env Example:
DEFI_PULSE_API_KEY=4953aaf7966dad9c129397e197a0630ed0594f66962dd5fb058972b250da
```

### Make awesome changes!

1. Create new branch for your changes
Expand Down Expand Up @@ -675,7 +697,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center"><a href="https://github.com/shad-k"><img src="https://avatars1.githubusercontent.com/u/23720732?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Shadab Khan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=shad-k" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ryancreatescopy"><img src="https://avatars2.githubusercontent.com/u/40891631?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ryancreatescopy</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=ryancreatescopy" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=ryancreatescopy" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ryancreatescopy"><img src="https://avatars2.githubusercontent.com/u/40891631?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ryancreatescopy</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=ryancreatescopy" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=ryancreatescopy" title="Code">💻</a> <a href="#design-ryancreatescopy" title="Design">🎨</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aryancreatescopy" title="Bug reports">🐛</a> <a href="#ideas-ryancreatescopy" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ethereum/ethereum-org-website/pulls?q=is%3Apr+reviewed-by%3Aryancreatescopy" title="Reviewed Pull Requests">👀</a> <a href="#content-ryancreatescopy" title="Content">🖋</a></td>
<td align="center"><a href="http://jutt.ca"><img src="https://avatars3.githubusercontent.com/u/7143583?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hammad Jutt</b></sub></a><br /><a href="#content-hammadj" title="Content">🖋</a></td>
<td align="center"><a href="https://becaz.org"><img src="https://avatars2.githubusercontent.com/u/58934348?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Becaz</b></sub></a><br /><a href="#ideas-becaz" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/caosbad"><img src="https://avatars2.githubusercontent.com/u/10805199?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Caos</b></sub></a><br /><a href="#content-caosbad" title="Content">🖋</a></td>
Expand Down Expand Up @@ -966,6 +988,14 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="http://linkedin.com/in/ayushman17/"><img src="https://avatars.githubusercontent.com/u/53474591?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ayushman Singh Chauhan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aayushman17" title="Bug reports">🐛</a> <a href="#content-ayushman17" title="Content">🖋</a></td>
<td align="center"><a href="https://www.linkedin.com/in/keqi-huang/"><img src="https://avatars.githubusercontent.com/u/28261876?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Keqi Huang</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3ALisanaaa" title="Bug reports">🐛</a> <a href="#content-Lisanaaa" title="Content">🖋</a></td>
<td align="center"><a href="https://github.com/DavidPlutus"><img src="https://avatars.githubusercontent.com/u/63456936?v=4?s=100" width="100px;" alt=""/><br /><sub><b>davidplutus</b></sub></a><br /><a href="#ideas-davidplutus" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/Karthickmerk"><img src="https://avatars.githubusercontent.com/u/53270101?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Karthickmerk</b></sub></a><br /><a href="#ideas-Karthickmerk" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/hueyhe"><img src="https://avatars.githubusercontent.com/u/13460383?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sihong</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=hueyhe" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/AmirAliM"><img src="https://avatars.githubusercontent.com/u/8203572?v=4?s=100" width="100px;" alt=""/><br /><sub><b>AmirAliM</b></sub></a><br /><a href="#content-AmirAliM" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/Rub3cula"><img src="https://avatars.githubusercontent.com/u/63545006?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rub3cula</b></sub></a><br /><a href="#content-Rub3cula" title="Content">🖋</a></td>
<td align="center"><a href="https://pawelurbanek.com"><img src="https://avatars.githubusercontent.com/u/1131944?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Paweł Urbanek</b></sub></a><br /><a href="#content-pawurb" title="Content">🖋</a></td>
<td align="center"><a href="https://github.com/adi44"><img src="https://avatars.githubusercontent.com/u/31381639?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aditya Dhir</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aadi44" title="Bug reports">🐛</a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "2.29.2",
"version": "2.30.0",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "[email protected]:ethereum/ethereum-org-website.git",
Expand Down
Binary file added src/assets/wallets/walleth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
132 changes: 112 additions & 20 deletions src/components/FileContributors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react"
import React, { useState } from "react"
import { useIntl } from "gatsby-plugin-intl"
import styled from "styled-components"
import styled, { css } from "styled-components"
import { useQuery, gql } from "@apollo/client"

import ButtonLink from "./ButtonLink"
Expand All @@ -11,9 +11,27 @@ import Translation from "./Translation"
import { ButtonSecondary } from "./SharedStyledComponents"
import { getLocaleTimestamp } from "../utils/time"

const loadingStyles = css`
font-size: 0;
background: ${({ theme }) =>
`linear-gradient(-90deg, ${theme.colors.lightBorder} 0%, ${theme.colors.searchBackgroundEmpty} 50%, ${theme.colors.lightBorder} 100%)`};
background-size: 400% 400%;
animation: pulse 1.2s ease-in-out infinite;

@keyframes pulse {
0% {
background-position: 0% 0%;
}
100% {
background-position: -135% 0%;
}
}
`

const Container = styled.div`
display: flex;
justify-content: space-between;
position: relative;

border-radius: 2px;
padding: 0.5rem;
Expand All @@ -29,6 +47,23 @@ const Container = styled.div`
}
`

const SkeletonContainer = styled(Container)`
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
opacity: 1;
transition: opacity 0.15s ease-in-out;

${({ loading }) =>
!loading &&
`
opacity: 0;
pointer-events: none;
`}
`

const LeftContent = styled.div`
display: flex;
align-items: center;
Expand All @@ -38,24 +73,62 @@ const LeftContent = styled.div`
}
`

const SkeletonLeftContent = styled(LeftContent)`
flex: 1;
@media (max-width: ${(props) => props.theme.breakpoints.m}) {
flex: none;
}
`

const Avatar = styled.img`
height: 40px;
width: 40px;
margin-right: 0.5rem;
border-radius: 50%;
`

const SkeletonAvatar = styled.div`
height: 40px;
width: 40px;
margin-right: 0.5rem;
border-radius: 50%;
${loadingStyles}
`

const Info = styled.div`
line-height: 130%;
color: ${(props) => props.theme.colors.text200};
`

const SkeletonInfo = styled(Info)`
${loadingStyles}
height: 40px;
flex: 1;
border-radius: 3px;
`

const ButtonContainer = styled.div`
display: flex;
align-items: flex-end;
justify-content: space-between;
`

const SkeletonButtonContainer = styled(ButtonContainer)`
${loadingStyles}
width: 145px;
border-radius: 3px;
@media (max-width: ${(props) => props.theme.breakpoints.l}) {
margin-top: 1rem;
justify-content: center;
width: calc(50% - 2rem);
}
@media (max-width: ${(props) => props.theme.breakpoints.m}) {
height: 40px;
width: 50%;
margin-top: 1rem;
}
`

const ContributorsButton = styled(ButtonSecondary)`
background-color: ${(props) => props.theme.colors.background};
margin-top: 0;
Expand All @@ -70,6 +143,12 @@ const ContributorsButton = styled(ButtonSecondary)`
justify-content: center;
width: 50%;
}

${({ loading }) =>
loading &&
`
visibility: hidden;
`}
`

const GithubButton = styled(ButtonLink)`
Expand Down Expand Up @@ -151,28 +230,31 @@ const FileContributors = ({ relativePath, className, editPath }) => {
variables: { relativePath },
})

if (loading || error) return null
if (error) return null

const commits = data.repository?.ref?.target?.history?.edges?.map(
const commits = data?.repository?.ref?.target?.history?.edges?.map(
(commit) => commit.node
)

const lastCommit = commits[0]
if (typeof lastCommit === "undefined") return null
const lastContributor = lastCommit.author
const uniqueContributors = commits.reduce(
(res, cur) => {
for (const contributor of res) {
const hasAuthorInfo = !!contributor.user && !!cur.author.user
if (hasAuthorInfo && contributor.user.login === cur.author.user.login) {
return res
const lastCommit = commits?.[0] || {}
const lastContributor = lastCommit?.author || {}
const uniqueContributors =
commits?.reduce(
(res, cur) => {
for (const contributor of res) {
const hasAuthorInfo = !!contributor.user && !!cur.author.user
if (
hasAuthorInfo &&
contributor.user.login === cur.author.user.login
) {
return res
}
}
}
res.push(cur.author)
return res
},
[lastContributor]
)
res.push(cur.author)
return res
},
[lastContributor]
) || []

return (
<div className={className}>
Expand All @@ -196,6 +278,13 @@ const FileContributors = ({ relativePath, className, editPath }) => {
</ContributorList>
</Modal>
<Container>
<SkeletonContainer loading={!!loading}>
<SkeletonLeftContent>
<SkeletonAvatar />
<SkeletonInfo />
</SkeletonLeftContent>
<SkeletonButtonContainer />
</SkeletonContainer>
<LeftContent>
<Avatar src={lastContributor.avatarUrl} alt={lastContributor.name} />
<Info>
Expand All @@ -210,7 +299,10 @@ const FileContributors = ({ relativePath, className, editPath }) => {
</Info>
</LeftContent>
<ButtonContainer>
<ContributorsButton onClick={() => setModalOpen(true)}>
<ContributorsButton
onClick={() => setModalOpen(true)}
loading={loading}
>
<Translation id="see-contributors" />
</ContributorsButton>
{editPath && (
Expand Down
3 changes: 2 additions & 1 deletion src/components/Roadmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ const Roadmap = () => {
.filter(
(issue) =>
issue.state === "closed" &&
"allcontributors[bot]" !== issue.user.login
"allcontributors[bot]" !== issue.user.login &&
!!issue.pull_request
)
.slice(0, 6)
setIssues({
Expand Down
1 change: 0 additions & 1 deletion src/components/StablecoinAccordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
} from "./SharedStyledComponents"

import { translateMessageId } from "../utils/translations"
import { BsTypeH3 } from "react-icons/bs"

const Card = styled.div`
border-radius: 2px;
Expand Down
8 changes: 4 additions & 4 deletions src/components/StatsBoxGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,19 @@ const StatsBoxGrid = () => {
// Skip APIs when not in production
if (process.env.NODE_ENV !== "production") {
setEthPrice({
value: formatPrice(1330),
value: formatPrice(2265),
hasError: false,
})
setValueLocked({
value: formatTVL(23456789000),
value: formatTVL(57141111000),
hasError: false,
})
setTxs({
value: formatTxs(1234567),
value: formatTxs(1305167),
hasError: false,
})
setNodes({
value: formatNodes(8040),
value: formatNodes(5472),
hasError: false,
})
} else {
Expand Down
Loading