mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
chore: remove extra validationError
as @clarkdo mentioned
This commit is contained in:
parent
608b913b8a
commit
87d303845f
@ -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') {
|
||||||
|
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user