Skip to content

Commit

Permalink
Merge pull request ethereum#14214 from ethereum/master
Browse files Browse the repository at this point in the history
Master -> staging
  • Loading branch information
corwintines authored Oct 23, 2024
2 parents a9020ff + e1a8850 commit cf6f1b6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const COMMUNITY_BLOGS: CommunityBlog[] = [
},
{
href: "https://ethstaker.cc/blog",
feed: "https://paragraph.xyz/api/blogs/rss/@ethstaker",
feed: "https://raw.githubusercontent.com/eth-educators/github-actions/refs/heads/main/_data/blog_data.xml",
},
{
href: "https://0xparc.org/blog",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import {
BASE_TIME_UNIT,
BLOG_FEEDS,
BLOGS_WITHOUT_FEED,
CALENDAR_DISPLAY_COUNT,
Expand Down Expand Up @@ -174,7 +173,8 @@ export const getStaticProps = (async ({ locale }) => {
metricResults,
rssData: { rssItems, blogLinks },
},
revalidate: BASE_TIME_UNIT * 24,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down
5 changes: 2 additions & 3 deletions src/pages/stablecoins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ import { runOnlyOnce } from "@/lib/utils/runOnlyOnce"
import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import { BASE_TIME_UNIT } from "@/lib/constants"

import {
fetchEthereumEcosystemData,
fetchEthereumStablecoinsData,
Expand Down Expand Up @@ -189,7 +187,8 @@ export const getStaticProps = (async ({ locale }) => {
marketsHasError,
},
// Updated once a week
revalidate: BASE_TIME_UNIT * 24 * 7,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24 * 7,
}
}) satisfies GetStaticProps<Props>

Expand Down
5 changes: 2 additions & 3 deletions src/pages/staking/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ import { runOnlyOnce } from "@/lib/utils/runOnlyOnce"
import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import { BASE_TIME_UNIT } from "@/lib/constants"

import rhino from "@/public/images/upgrades/upgrade_rhino.png"

type BenefitsType = {
Expand Down Expand Up @@ -176,7 +174,8 @@ export const getStaticProps = (async ({ locale }) => {
lastDeployLocaleTimestamp,
},
// Updated once a day
revalidate: BASE_TIME_UNIT * 24,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down
4 changes: 2 additions & 2 deletions src/pages/wallets/find-wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
} from "@/lib/utils/wallets"

import {
BASE_TIME_UNIT,
DEFAULT_LOCALE,
NAV_BAR_PX_HEIGHT,
WALLETS_FILTERS_DEFAULT,
Expand Down Expand Up @@ -93,7 +92,8 @@ export const getStaticProps = (async ({ locale }) => {
wallets,
},
// Updated once a day
revalidate: BASE_TIME_UNIT * 24,
// TODO: re-enable revalidation once we have a workaround for failing builds
// revalidate: BASE_TIME_UNIT * 24,
}
}) satisfies GetStaticProps<Props>

Expand Down

0 comments on commit cf6f1b6

Please sign in to comment.