Skip to content

Commit 9917075

Browse files
committed
Fix documentation typo in refresh function comment in revalidate.ts
1 parent 1db925a commit 9917075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/server/web/spec-extension/revalidate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function updateTag(tag: string) {
5555
/**
5656
* This function allows you to refresh client cache from server actions.
5757
* It's useful as dynamic data can be cached on the client which won't
58-
* be refreshed by expireTag
58+
* be refreshed by updateTag
5959
*/
6060
export function refresh() {
6161
const workStore = workAsyncStorage.getStore()

0 commit comments

Comments
 (0)