Unused varibles and methods removal,

Change the way error handling works so I dont have explicit any type.
This commit is contained in:
2025-01-24 13:39:11 -05:00
parent f192e51f3c
commit 406963f6bf
3 changed files with 13 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { addDays, subDays } from "date-fns";
import { Book, Chapter, Editor, Announcement, Glossary, Report } from "./types";
import { Book, Chapter, Editor, Announcement, Glossary } from "./types";
const API_URL = process.env.NEXT_PUBLIC_API_URL as string;
const API_TOKEN = process.env.STRAPI_API_TOKEN as string;