mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
redirect to store as home page
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { getDictionary } from "./dictionaries";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function Page({
|
||||
params: { lang },
|
||||
}: {
|
||||
params: { lang: string };
|
||||
}) {
|
||||
const dict = await getDictionary(lang); // en
|
||||
return <h1>{dict.home.welcome}</h1>; // Add to Cart
|
||||
redirect("/store");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user