Merge branch 'chats-intermediate-fix' into 'develop'

Fix chats "Message" button for intermediate screen sizes

See merge request soapbox-pub/soapbox-fe!518
datepicker-css
Alex Gleason 2021-06-01 15:38:18 +00:00
commit f62afb6ccb
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,6 @@ import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import { List as ImmutableList } from 'immutable';
import { getSettings } from 'soapbox/actions/settings';
import { startChat, openChat } from 'soapbox/actions/chats';
import { isMobile } from 'soapbox/is_mobile';
import { deactivateUserModal, deleteUserModal } from 'soapbox/actions/moderation';
import { tagUsers, untagUsers } from 'soapbox/actions/admin';
import snackbar from 'soapbox/actions/snackbar';
@ -37,6 +36,8 @@ const messages = defineMessages({
userUnverified: { id: 'admin.users.user_unverified_message', defaultMessage: '@{acct} was unverified' },
});
const isMobile = width => width <= 1190;
const makeMapStateToProps = () => {
const getAccount = makeGetAccount();