mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 08:50:56 +01:00
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
"use server";
|
|
|
|
import { revalidatePath } from "next/cache";
|
|
|
|
export async function revalidatePathActionAsync(path: string) {
|
|
return new Promise((resolve) => resolve(revalidatePath(path, "page")));
|
|
}
|