From f0bfe892db782472d0911b3562346d80bed2fb94 Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Wed, 26 Oct 2022 13:34:46 +0300 Subject: [PATCH] Cleanup --- src/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 289a7c5..b214590 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,7 @@ import { CheckboxWidget } from './components'; const applyConfig = (config) => { - config.widgets.type = { - ...config.widgets.type, - boolean: CheckboxWidget, - }; + config.widgets.type.boolean = CheckboxWidget; return config; };