]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix useSSRContext casing in warning message
authorEvan You <yyx990803@gmail.com>
Mon, 18 Jan 2021 19:51:41 +0000 (14:51 -0500)
committerEvan You <yyx990803@gmail.com>
Fri, 29 Jan 2021 20:03:52 +0000 (15:03 -0500)
packages/runtime-core/src/helpers/useSsrContext.ts

index a83f4c10ec962bccaf4d34092c16dffcd47b6488..5b75b6f806ff337d835fbf7c94a1f218e72bb78c 100644 (file)
@@ -9,11 +9,11 @@ export const useSSRContext = <T = Record<string, any>>() => {
     if (!ctx) {
       warn(
         `Server rendering context not provided. Make sure to only call ` +
-          `useSsrContext() conditionally in the server build.`
+          `useSSRContext() conditionally in the server build.`
       )
     }
     return ctx
   } else if (__DEV__) {
-    warn(`useSsrContext() is not supported in the global build.`)
+    warn(`useSSRContext() is not supported in the global build.`)
   }
 }