Use the new JSX transform (#25064)
This commit is contained in:
parent
e387175fc9
commit
8f66126b10
241 changed files with 366 additions and 473 deletions
|
@ -1,4 +1,4 @@
|
|||
import React from 'react';
|
||||
import { PureComponent } from 'react';
|
||||
import Column from 'mastodon/components/column';
|
||||
import ColumnBackButton from 'mastodon/components/column_back_button';
|
||||
import PropTypes from 'prop-types';
|
||||
|
@ -20,7 +20,7 @@ const mapStateToProps = state => ({
|
|||
account: state.getIn(['accounts', me]),
|
||||
});
|
||||
|
||||
class CopyPasteText extends React.PureComponent {
|
||||
class CopyPasteText extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
value: PropTypes.string,
|
||||
|
@ -81,7 +81,7 @@ class CopyPasteText extends React.PureComponent {
|
|||
|
||||
}
|
||||
|
||||
class TipCarousel extends React.PureComponent {
|
||||
class TipCarousel extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
children: PropTypes.node,
|
||||
|
@ -135,7 +135,7 @@ class TipCarousel extends React.PureComponent {
|
|||
|
||||
}
|
||||
|
||||
class Share extends React.PureComponent {
|
||||
class Share extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
onBack: PropTypes.func,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue