Skip to content

Commit 7317e44

Browse files
committed
Merge branch 'dev' into fix-h-fonts
2 parents 3b8d66e + 107cbc3 commit 7317e44

File tree

3 files changed

+186
-172
lines changed

3 files changed

+186
-172
lines changed

app/[locale]/developers/tutorials/_components/tutorials.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ import {
3434

3535
import externalTutorials from "@/data/externalTutorials.json"
3636

37+
import { DEFAULT_LOCALE } from "@/lib/constants"
38+
3739
import { useBreakpointValue } from "@/hooks/useBreakpointValue"
3840

3941
type LinkFlexProps = FlexProps & {
@@ -93,14 +95,15 @@ const TutorialPage = ({
9395
contentNotTranslated,
9496
}: TutorialPageProps) => {
9597
const locale = useLocale()
98+
const effectiveLocale = internalTutorials.length > 0 ? locale : DEFAULT_LOCALE
9699
const filteredTutorialsByLang = useMemo(
97100
() =>
98101
filterTutorialsByLang(
99102
internalTutorials,
100103
externalTutorials,
101-
locale as Lang
104+
effectiveLocale as Lang
102105
),
103-
[internalTutorials, locale]
106+
[internalTutorials, effectiveLocale]
104107
)
105108

106109
const allTags = useMemo(

src/data/chains.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@ const chains = [
320320
},
321321
{
322322
name: "Blast Mainnet",
323-
infoURL: "https://docs.blastblockchain.com",
323+
infoURL: "https://docs.blastchain.org",
324324
chainId: 238,
325325
nativeCurrency: {
326-
name: "Ether",
327-
symbol: "ETH",
326+
name: "One World Chain",
327+
symbol: "OWCT",
328328
decimals: 18,
329329
},
330330
chain: "ETH",
@@ -1892,6 +1892,17 @@ const chains = [
18921892
},
18931893
chain: "DUSTBOY",
18941894
},
1895+
{
1896+
name: "Ethereum Hoodi",
1897+
infoURL: "https://hoodi.ethpandaops.io",
1898+
chainId: 560048,
1899+
nativeCurrency: {
1900+
name: "Hoodi Ether",
1901+
symbol: "ETH",
1902+
decimals: 18,
1903+
},
1904+
chain: "ETH",
1905+
},
18951906
{
18961907
name: "Zether Mainnet",
18971908
infoURL: "https://zether.org",

0 commit comments

Comments
 (0)