Fix chats "Message" button for intermediate screen sizes

merge-requests/518/head
Alex Gleason 2021-06-01 10:21:24 -05:00
rodzic 1acfc31280
commit 00d1fd67ac
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
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();