Unused varibles and methods removal,
Change the way error handling works so I dont have explicit any type.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user