chore: remove extra validationError

as @clarkdo mentioned
This commit is contained in:
Pooya Parsa 2018-08-25 21:56:42 +04:30
parent 608b913b8a
commit 87d303845f
2 changed files with 2 additions and 4 deletions

View File

@ -292,7 +292,6 @@ async function render (to, from, next) {
// Call .validate() // Call .validate()
let isValid = true let isValid = true
let validationError
try { try {
for (const Component of Components) { for (const Component of Components) {
if (typeof Component.options.validate !== 'function') { if (typeof Component.options.validate !== 'function') {

View File

@ -154,7 +154,6 @@ export default async (ssrContext) => {
** Call .validate() ** Call .validate()
*/ */
let isValid = true let isValid = true
let validationError
try { try {
for (const Component of Components) { for (const Component of Components) {
if (typeof Component.options.validate !== 'function') { if (typeof Component.options.validate !== 'function') {