Skip to content

Commit 33629b2

Browse files
committed
Remove unused button when creating a widget #581
1 parent 8bcec2a commit 33629b2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/evershop/src/modules/cms/pages/admin/widgetGrid/NewWidgetButton.jsx

-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ export default function NewWidgetButton({ widgetTypes }) {
1717
title: 'Cancel',
1818
onAction: closeAlert,
1919
variant: 'primary'
20-
},
21-
secondaryAction: {
22-
title: 'Disable',
23-
onAction: async () => {},
24-
variant: 'critical',
25-
isLoading: false
2620
}
2721
});
2822
}}

0 commit comments

Comments
 (0)