From ca0ed1212feb19fdce9ba22140421d30a026e8e0 Mon Sep 17 00:00:00 2001 From: Cashew Date: Wed, 27 Dec 2023 08:53:31 +0700 Subject: [PATCH] remove empty default --- ext/js/data/json-schema.js | 2 -- ext/js/display/display-generator.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/ext/js/data/json-schema.js b/ext/js/data/json-schema.js index 664cc187af..ee58976ebf 100644 --- a/ext/js/data/json-schema.js +++ b/ext/js/data/json-schema.js @@ -1354,8 +1354,6 @@ class JsonSchemaProxyHandler { return property; } break; - default: - break; } return null; } diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js index a86a225cc5..b91d0ce917 100644 --- a/ext/js/display/display-generator.js +++ b/ext/js/display/display-generator.js @@ -415,8 +415,6 @@ export class DisplayGenerator { } break; } - default: - break; } return null;