From e62586641cf9d865d7d6dada5401106afcb0bcce Mon Sep 17 00:00:00 2001 From: Rajesh-Royal Date: Mon, 30 Jan 2023 20:14:41 +0530 Subject: [PATCH] fix: #23 fatal error in dev icons selection des: The default devIconOptions state should be of array type --- src/components/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Editor.js b/src/components/Editor.js index 333d92d..bd9e678 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -25,7 +25,7 @@ const defaultSettings = { download: "PNG", author: 'Rutik Wankhade', icon: { 'label': 'react', 'value': 'react' }, - devIconOptions: {}, + devIconOptions: [], font: 'font-Anek', theme: 'background', customIcon: '',