Skip to content

Commit 7ed2b90

Browse files
Fix documentation typo in refresh function (vercel#85696)
### What? Fix documentation typo in `refresh` function.
1 parent 5312936 commit 7ed2b90

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)