chore: fix error message (#1602)

make the error message in `compiler-dom` and `compiler-ssr` a bit
cleaner and fix grammar
This commit is contained in:
Sohaib Alam
2020-07-16 23:06:16 +05:30
committed by GitHub
parent 8b5d153d7f
commit 6136cf874e
2 changed files with 2 additions and 2 deletions

View File

@@ -27,5 +27,5 @@ export const SSRErrorMessages: { [code: number]: string } = {
[SSRErrorCodes.X_SSR_CUSTOM_DIRECTIVE_NO_TRANSFORM]: `Custom directive is missing corresponding SSR transform and will be ignored.`,
[SSRErrorCodes.X_SSR_UNSAFE_ATTR_NAME]: `Unsafe attribute name for SSR.`,
[SSRErrorCodes.X_SSR_NO_TELEPORT_TARGET]: `No target prop on teleport element.`,
[SSRErrorCodes.X_SSR_INVALID_AST_NODE]: `Invalid AST node during ssr transform`
[SSRErrorCodes.X_SSR_INVALID_AST_NODE]: `Invalid AST node during SSR transform.`
}