mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
* wip * fix type check * refactor "/settings/my-account/profile" * refactor "settings/my-account/general" * refactor "/settings/my-accouunt/calendars" * refactor "/settings/my-account/appearance" * fix: type-check --------- Co-authored-by: Amit Sharma <[email protected]> Co-authored-by: Amit Sharma <[email protected]>
12 lines
274 B
TypeScript
12 lines
274 B
TypeScript
"use server";
|
|
|
|
import { revalidatePath } from "next/cache";
|
|
|
|
export async function revalidateSettingsProfile() {
|
|
revalidatePath("/settings/my-account/profile");
|
|
}
|
|
|
|
export async function revalidateSettingsCalendars() {
|
|
revalidatePath("/settings/my-account/calendars");
|
|
}
|