Fixed bugs
This commit is contained in:
parent
8a9d354503
commit
8b80ec4ca3
|
@ -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 });
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue