We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf0181 commit c93e87bCopy full SHA for c93e87b
app/[locale]/developers/tutorials/_components/tutorials.tsx
@@ -34,6 +34,8 @@ import {
34
35
import externalTutorials from "@/data/externalTutorials.json"
36
37
+import { DEFAULT_LOCALE } from "@/lib/constants"
38
+
39
import { useBreakpointValue } from "@/hooks/useBreakpointValue"
40
41
type LinkFlexProps = FlexProps & {
@@ -93,7 +95,7 @@ const TutorialPage = ({
93
95
contentNotTranslated,
94
96
}: TutorialPageProps) => {
97
const locale = useLocale()
- const effectiveLocale = internalTutorials.length > 0 ? locale : "en"
98
+ const effectiveLocale = internalTutorials.length > 0 ? locale : DEFAULT_LOCALE
99
const filteredTutorialsByLang = useMemo(
100
() =>
101
filterTutorialsByLang(
0 commit comments