Fixed bugs

This commit is contained in:
DrMint 2022-07-02 05:10:40 +02:00
parent 8a9d354503
commit 8b80ec4ca3
2 changed files with 1 additions and 2 deletions

View File

@ -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 });

View File

@ -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,