mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 06:27:25 +00:00
Take advantage of transform-class-properties and use arrow functions instead of bind
This commit is contained in:
@@ -12,8 +12,6 @@ class SurveyModal extends React.Component {
|
||||
onOpenToggle: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
constructor(props) { super(props); }
|
||||
|
||||
onClick = () => {
|
||||
window.open('https://gregorywolanski.typeform.com/to/cPgaSY', '_blank');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user