mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* ssr for schedule page * improve skeleton * improve skeleton * improve skeleton
8 lines
179 B
TypeScript
8 lines
179 B
TypeScript
"use server";
|
|
|
|
import { revalidatePath } from "next/cache";
|
|
|
|
export async function revalidateSchedulePage(scheduleId: number) {
|
|
revalidatePath(`/availability/${scheduleId}`);
|
|
}
|