Merge branch 'ts' into 'develop'
lint See merge request soapbox-pub/soapbox!1887
This commit is contained in:
commit
4e3b398209
4 changed files with 1 additions and 5 deletions
|
@ -526,7 +526,6 @@ const MediaGallery: React.FC<IMediaGallery> = (props) => {
|
|||
/>
|
||||
));
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
if (node.current) {
|
||||
const { offsetWidth } = node.current;
|
||||
|
|
|
@ -18,7 +18,6 @@ const listenerOptions = supportsPassiveEvents ? { passive: true } : false;
|
|||
|
||||
const categoriesSort = ['custom'];
|
||||
|
||||
|
||||
class IconPickerMenu extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
|
||||
import Base from 'soapbox/components/modal_root';
|
||||
|
@ -35,8 +34,8 @@ import {
|
|||
} from 'soapbox/features/ui/util/async-components';
|
||||
|
||||
import BundleContainer from '../containers/bundle_container';
|
||||
import { BundleProps } from './bundle';
|
||||
|
||||
import { BundleProps } from './bundle';
|
||||
import BundleModalError from './bundle_modal_error';
|
||||
import ModalLoading from './modal_loading';
|
||||
|
||||
|
|
|
@ -114,7 +114,6 @@ const countFuture = (notifications: ImmutableOrderedMap<string, NotificationReco
|
|||
}, 0);
|
||||
};
|
||||
|
||||
|
||||
const importNotification = (state: State, notification: APIEntity) => {
|
||||
const top = state.top;
|
||||
|
||||
|
|
Loading…
Reference in a new issue