Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
🔥 Remove all decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian authored Jul 10, 2018
1 parent 8bcbd10 commit 7827c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-decorators",
"@babel/plugin-syntax-dynamic-import",
[
"@babel/plugin-transform-react-jsx",
Expand All @@ -11,8 +10,5 @@
}
]
],
"presets": [
"@babel/preset-react",
"@babel/preset-env"
]
}
"presets": ["@babel/preset-react", "@babel/preset-env"]
}
3 changes: 1 addition & 2 deletions src/editor/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Editor from "./components/Editor";

import "edtrio/common/base.scss";

@DragDropContext(HTML5Backend)
class App extends Component {
constructor(props) {
super(props);
Expand Down Expand Up @@ -62,4 +61,4 @@ class App extends Component {
}
}

export default App;
export default DragDropContext(HTML5Backend)(App);

0 comments on commit 7827c1c

Please sign in to comment.