Trying to fix linting errors

This commit is contained in:
ajnart committed 2022-12-22 11:45:48 +09:00
1 parent e982515bb5
commit 93fc011879
10 files changed
+7 -327

No files matched your search

@@ -33,8 +33,9 @@ export const WidgetElementType = ({ id, image, disabled, widget }: WidgetElement
{
id: widget.id,
properties: Object.entries(widget.options).reduce((prev, [k, v]) => {
prev[k] = v.defaultValue;
return prev;
const newPrev = prev;
newPrev[k] = v.defaultValue;
return newPrev;
}, {} as IWidget<string, any>['properties']),
area: {
type: 'wrapper',