Skip to content

Commit 310cb8c

Browse files
committed
chore: fix useSSRContext casing in warning message
1 parent 4fecb27 commit 310cb8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/src/helpers/useSsrContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ export const useSSRContext = <T = Record<string, any>>() => {
99
if (!ctx) {
1010
warn(
1111
`Server rendering context not provided. Make sure to only call ` +
12-
`useSsrContext() conditionally in the server build.`
12+
`useSSRContext() conditionally in the server build.`
1313
)
1414
}
1515
return ctx
1616
} else if (__DEV__) {
17-
warn(`useSsrContext() is not supported in the global build.`)
17+
warn(`useSSRContext() is not supported in the global build.`)
1818
}
1919
}

0 commit comments

Comments
 (0)