[Glitch] Use the new JSX transform everywhere

Port 8f66126b10 to glitch-soc
This commit is contained in:
Claire committed 2023-05-28 14:18:43 +02:00
1 parent 9381f78166
commit 6001f5ff36
263 files changed
+403 -502

No files matched your search

@@ -1,4 +1,4 @@
import React from 'react';
import { PureComponent } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { changeListEditorTitle, submitListEditor } from 'flavours/glitch/actions/lists';
@@ -20,7 +20,7 @@ const mapDispatchToProps = dispatch => ({
onSubmit: () => dispatch(submitListEditor(true)),
});
class NewListForm extends React.PureComponent {
class NewListForm extends PureComponent {
static propTypes = {
value: PropTypes.string.isRequired,