|
@@ -1,5 +1,6 @@
|
|
|
"use client";
|
|
|
import { getGamesApi, GroupType } from "@/api/home";
|
|
|
+import { getUserApi } from "@/api/test";
|
|
|
import { SwiperGroup } from "@/components/Card";
|
|
|
import { FC, PropsWithChildren, useEffect, useState } from "react";
|
|
|
import "swiper/css";
|
|
@@ -20,6 +21,10 @@ const HomeSwiper: FC<PropsWithChildren<Props>> = (props) => {
|
|
|
getGamesApi().then((res) => {
|
|
|
setGroupGames(res.data);
|
|
|
});
|
|
|
+
|
|
|
+ getUserApi().then((res) => {
|
|
|
+ console.log(`🎯🎯🎯🎯🎯-> in HomeGames.tsx on 25`, res);
|
|
|
+ });
|
|
|
}, []);
|
|
|
return (
|
|
|
<div>
|