fix: resolve linting errors and increase node heap size for CI stability
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 3m5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m16s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 3m5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m16s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -14,7 +14,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/avb.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/datenschutz.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/impressum.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
|
||||
import HomeContent from "@/components/HomeContent";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -21,7 +21,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/index.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Fallback if MDX is not yet created for this locale
|
||||
return <HomeContent />;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/about.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user