running smooth again

This commit is contained in:
2024-09-02 13:10:23 -06:00
parent 895271743f
commit c86bdf3451
29 changed files with 268 additions and 249 deletions

View File

@@ -1,3 +1,4 @@
"use client"
import { LocalCoursePage } from "@/models/local/page/localCoursePage";
import { useSuspenseQueries, useSuspenseQuery } from "@tanstack/react-query";
import axios from "axios";
@@ -54,7 +55,6 @@ function getPageQueryConfig(
"/pages/" +
encodeURIComponent(pageName);
try {
console.log("making a request to get a page");
const response = await axios.get(url);
return response.data;
} catch (e) {