diff --git a/src/pages/api/revalidate.ts b/src/pages/api/revalidate.ts index 1f0a0fc..269f9fe 100644 --- a/src/pages/api/revalidate.ts +++ b/src/pages/api/revalidate.ts @@ -206,7 +206,7 @@ export default async function Revalidate( try { Promise.all( paths.map(async (path) => { - await res.unstable_revalidate(path); + await res.revalidate(path); }) ); return res.json({ message: "Success!", revalidated: true }); diff --git a/src/pages/library/index.tsx b/src/pages/library/index.tsx index daff476..52e3adb 100644 --- a/src/pages/library/index.tsx +++ b/src/pages/library/index.tsx @@ -21,7 +21,6 @@ import { TextInput } from "components/Inputs/TextInput"; import { Button } from "components/Inputs/Button"; import { PreviewCardCTAs } from "components/Library/PreviewCardCTAs"; import { useAppLayout } from "contexts/AppLayoutContext"; -import { ToolTip } from "components/ToolTip"; import { filterItems, getGroups,