Connect, collaborate, and grow with a community of TypeScript developers
fix: errors on AOT solutions tabs
bautistaaa4eb4dff98fad
diff --git a/apps/web/src/app/[locale]/challenge/[slug]/solutions/page.tsx b/apps/web/src/app/[locale]/challenge/[slug]/solutions/page.tsxindex c672e459..b003d585 100644--- a/apps/web/src/app/[locale]/challenge/[slug]/solutions/page.tsx+++ b/apps/web/src/app/[locale]/challenge/[slug]/solutions/page.tsx@@ -1,8 +1,6 @@import { buildMetaForDefault } from '~/app/metadata';import { getChallengeRouteData } from '../getChallengeRouteData';import { Solutions } from './_components';-import { AOT_CHALLENGES } from '../aot-slugs';-import { notFound } from 'next/navigation';interface Props {params: {@@ -19,6 +17,5 @@ export async function generateMetadata({ params: { slug } }: Props) {}export default async function SolutionPage({ params: { slug } }: Props) {- if (AOT_CHALLENGES.includes(slug)) return notFound();return <Solutions slug={slug} />;}