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(() => {
|
useEffect(() => {
|
||||||
if (node.current) {
|
if (node.current) {
|
||||||
const { offsetWidth } = node.current;
|
const { offsetWidth } = node.current;
|
||||||
|
|
|
@ -18,7 +18,6 @@ const listenerOptions = supportsPassiveEvents ? { passive: true } : false;
|
||||||
|
|
||||||
const categoriesSort = ['custom'];
|
const categoriesSort = ['custom'];
|
||||||
|
|
||||||
|
|
||||||
class IconPickerMenu extends React.PureComponent {
|
class IconPickerMenu extends React.PureComponent {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Base from 'soapbox/components/modal_root';
|
import Base from 'soapbox/components/modal_root';
|
||||||
|
@ -35,8 +34,8 @@ import {
|
||||||
} from 'soapbox/features/ui/util/async-components';
|
} from 'soapbox/features/ui/util/async-components';
|
||||||
|
|
||||||
import BundleContainer from '../containers/bundle_container';
|
import BundleContainer from '../containers/bundle_container';
|
||||||
import { BundleProps } from './bundle';
|
|
||||||
|
|
||||||
|
import { BundleProps } from './bundle';
|
||||||
import BundleModalError from './bundle_modal_error';
|
import BundleModalError from './bundle_modal_error';
|
||||||
import ModalLoading from './modal_loading';
|
import ModalLoading from './modal_loading';
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,6 @@ const countFuture = (notifications: ImmutableOrderedMap<string, NotificationReco
|
||||||
}, 0);
|
}, 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const importNotification = (state: State, notification: APIEntity) => {
|
const importNotification = (state: State, notification: APIEntity) => {
|
||||||
const top = state.top;
|
const top = state.top;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue