mirror of
https://github.com/maputnik/editor.git
synced 2025-12-24 23:20:00 +00:00
Remove react autobind (#1254)
## Launch Checklist <!-- Thanks for the PR! Feel free to add or remove items from the checklist. --> Remove react-autobind dependency - [x] Briefly describe the changes in this PR. - [ ] Link to related issues. - [ ] Include before/after visuals or gifs if this PR includes visual changes. - [ ] Write tests for all new functionality. - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// @ts-ignore - this can be easily replaced with arrow functions
|
||||
import autoBind from 'react-autobind';
|
||||
import React from 'react'
|
||||
import cloneDeep from 'lodash.clonedeep'
|
||||
import clamp from 'lodash.clamp'
|
||||
@@ -140,7 +138,6 @@ export default class App extends React.Component<any, AppState> {
|
||||
|
||||
constructor(props: any) {
|
||||
super(props)
|
||||
autoBind(this);
|
||||
|
||||
this.revisionStore = new RevisionStore()
|
||||
const params = new URLSearchParams(window.location.search.substring(1))
|
||||
|
||||
Reference in New Issue
Block a user