Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Oct 26, 2022
1 parent 30a7a2d commit 3b94ba4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { TemporalWidgetEdit, TemporalWidgetView } from './components';

const applyConfig = (config) => {
config.widgets.widget = {
...config.widgets.widget,
temporal: TemporalWidgetEdit,
};
config.widgets.widget.temporal = TemporalWidgetEdit;

// volto-widgets-view
if (config.widgets.views?.widget) {
Expand Down

0 comments on commit 3b94ba4

Please sign in to comment.