diff --git a/src/pages/Results.jsx b/src/pages/Results.jsx index 1c380dc..d7295bb 100644 --- a/src/pages/Results.jsx +++ b/src/pages/Results.jsx @@ -1,13 +1,13 @@ import React from "react"; -import Menu from "../components/Menu"; -import { postWordpressStatisticsData } from "../hooks/WordpressFetchData"; +import Menu from "../components/ui/Menu"; +import { postGameStatisticsData } from "../services/WordpressFetchData"; import { useLanguage } from "../hooks/useLanguage"; export default function Results() { const { language } = useLanguage(); function addPost(language) { - postWordpressStatisticsData("/statistics/post", "BE"); + postGameStatisticsData("/statistics/post", "BE"); } return (