mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* cache trpc queries in /teams * fix * revalidate * refactor: migrate listHandler to TeamRepository.findTeamsByUserId Co-Authored-By: [email protected] <[email protected]> * add comment * refactor * refactor * make it even more performant --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
8 lines
146 B
TypeScript
8 lines
146 B
TypeScript
"use server";
|
|
|
|
import { revalidateTag } from "next/cache";
|
|
|
|
export async function revalidateTeamsList() {
|
|
revalidateTag("viewer.teams.list");
|
|
}
|