first commit

This commit is contained in:
Jeannette Chin committed 2026-10-04 12:04:52 +01:00
commit 2d54228143
28 files changed
+8067

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
"use server";
import { revalidatePath, revalidateTag } from "next/cache";
export async function refreshWeatherData() {
// Perform your mutation or database operation here
// Revalidate the specific path
revalidatePath("/weather");
revalidateTag("weather-data", "max");
}