mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 19:29:17 +01:00
* refactor: move modals to seperate package * fix: format issue * fix: lint issues * fix: format issue * fix: only used as type
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")));
|
|
}
|