|
@@ -3,13 +3,14 @@ import HomeActions from "@/app/[locale]/_home/HomeActions";
|
|
|
import HomeGames from "@/app/[locale]/_home/HomeGames";
|
|
|
import Box from "@/components/Box";
|
|
|
import Layout from "@/components/Layout";
|
|
|
-import { useTranslations } from "next-intl";
|
|
|
import HomeCard from "./_home/HomeCard";
|
|
|
import HomeSearch from "./_home/HomeSearch";
|
|
|
import HomeSwiper from "./_home/HomeSwiper";
|
|
|
|
|
|
-const App = () => {
|
|
|
- const t = useTranslations("global");
|
|
|
+async function App() {
|
|
|
+ // const t = useTranslations("global");
|
|
|
+ // const data = await fetch("http://206.168.191.125:8800/v1/api/front/game_list");
|
|
|
+ // console.log(`🎯🎯🎯🎯🎯-> in page.tsx on 13`, data);
|
|
|
return (
|
|
|
<Layout>
|
|
|
<div>
|
|
@@ -28,6 +29,6 @@ const App = () => {
|
|
|
</div>
|
|
|
</Layout>
|
|
|
);
|
|
|
-};
|
|
|
+}
|
|
|
|
|
|
export default App;
|