diff --git a/src/pages/Test.jsx b/src/pages/Test.jsx index 62757f2..62de5cc 100644 --- a/src/pages/Test.jsx +++ b/src/pages/Test.jsx @@ -1,13 +1,12 @@ import Menu from "../components/ui/Menu"; -import { postGameStatisticsData } from "../services/WordpressFetchData"; +import { postGameStatisticsData, postGameStatisticsDataBackend } from "../services/WordpressFetchData"; import { useLanguage } from "../hooks/useLanguage"; import { useEffect } from "react"; - export default function Test() { const { language } = useLanguage(); - function addPost() { - postGameStatisticsData(language); + function postStatistics() { + postGameStatisticsDataBackend(); } return ( @@ -16,8 +15,8 @@ export default function Test() {
- - + + {/* */}