diff --git a/docs/02-app/02-api-reference/01-directives/use-cache.mdx b/docs/02-app/02-api-reference/01-directives/use-cache.mdx index b6c7894292dbf..1e6d8d2427efb 100644 --- a/docs/02-app/02-api-reference/01-directives/use-cache.mdx +++ b/docs/02-app/02-api-reference/01-directives/use-cache.mdx @@ -284,7 +284,7 @@ export async function getData() { } ``` -You can then purge the cache on-demand using revalidateTag in another function, for examples, a [route handler](/docs/app/building-your-application/routing/route-handlers) or [Server Action](/docs/app/building-your-application/data-fetching/server-actions-and-mutations): +You can then purge the cache on-demand using `revalidateTag` in another function, for examples, a [route handler](/docs/app/building-your-application/routing/route-handlers) or [Server Action](/docs/app/building-your-application/data-fetching/server-actions-and-mutations): ```tsx filename="app/submit.ts" highlight={6,7} 'use server' @@ -297,7 +297,7 @@ export default async function submit() { } ``` -See the [revalidateTag](/docs/app/api-reference/functions/revalidateTag) docs for more information on purging cached data on-demand. +See the [`revalidateTag`](/docs/app/api-reference/functions/revalidateTag) docs for more information on purging cached data on-demand. ## Examples