kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix chats "Message" button for intermediate screen sizes
rodzic
1acfc31280
commit
00d1fd67ac
|
@ -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();
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue