[Glitch] Use the new JSX transform everywhere

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

View File

@@ -1,4 +1,4 @@
import React from 'react';
import { PureComponent, Component } from 'react';
import NotificationsContainer from './containers/notifications_container';
import PropTypes from 'prop-types';
import LoadingBarContainer from './containers/loading_bar_container';
@@ -121,7 +121,7 @@ const keyMap = {
openMedia: 'e',
};
class SwitchingColumnsArea extends React.PureComponent {
class SwitchingColumnsArea extends PureComponent {
static contextTypes = {
identity: PropTypes.object,
@@ -240,7 +240,7 @@ class SwitchingColumnsArea extends React.PureComponent {
}
class UI extends React.Component {
class UI extends Component {
static contextTypes = {
identity: PropTypes.object.isRequired,