From: Evan You Date: Mon, 18 Jan 2021 19:51:41 +0000 (-0500) Subject: chore: fix useSSRContext casing in warning message X-Git-Tag: v3.0.6~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=310cb8cfab7596edd7185f0957e43dd0e797cee5;p=thirdparty%2Fvuejs%2Fcore.git chore: fix useSSRContext casing in warning message --- diff --git a/packages/runtime-core/src/helpers/useSsrContext.ts b/packages/runtime-core/src/helpers/useSsrContext.ts index a83f4c10ec..5b75b6f806 100644 --- a/packages/runtime-core/src/helpers/useSsrContext.ts +++ b/packages/runtime-core/src/helpers/useSsrContext.ts @@ -9,11 +9,11 @@ export const useSSRContext = >() => { 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.`) } }