From 6cd1c0968e6466964f2e26d5274ff24905fc8ea4 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Fri, 9 Nov 2018 17:25:45 -0800 Subject: [PATCH] fix lint --- packages/slate/src/plugins/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slate/src/plugins/schema.js b/packages/slate/src/plugins/schema.js index d22b8162b..8dbe26f83 100644 --- a/packages/slate/src/plugins/schema.js +++ b/packages/slate/src/plugins/schema.js @@ -157,7 +157,7 @@ function SchemaPlugin(schema) { */ function defaultNormalize(editor, error) { - const { code, node, child, next, previous, key, mark, index } = error + const { code, node, child, next, previous, key, mark } = error switch (code) { case 'child_max_invalid':