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 a52fee4 commit 05f2bdaCopy full SHA for 05f2bda
app/routes/docs.$lang.ts
@@ -1,5 +1,5 @@
1
import { redirect, type LoaderFunctionArgs } from "@remix-run/node";
2
export async function loader({ params }: LoaderFunctionArgs) {
3
- const { lang, ref } = params;
4
- return !ref ? redirect(`/docs/${lang}/main`) : null;
5
-}
+ const { lang, ref } = params;
+ return !ref ? redirect(`/docs/${lang}/main`) : null;
+}
0 commit comments