Move “export” before decorators
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
This commit is contained in:
		
							parent
							
								
									0014a32c19
								
							
						
					
					
						commit
						f2b307af25
					
				| 
						 | 
					@ -19,8 +19,8 @@ const messages = defineMessages({
 | 
				
			||||||
  unmute_notifications: { id: 'account.unmute_notifications', defaultMessage: 'You are currently muting notifications from @{name}. Click to unmute notifications' },
 | 
					  unmute_notifications: { id: 'account.unmute_notifications', defaultMessage: 'You are currently muting notifications from @{name}. Click to unmute notifications' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class Account extends ImmutablePureComponent {
 | 
					class Account extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    account: ImmutablePropTypes.map.isRequired,
 | 
					    account: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ const messages = defineMessages({
 | 
				
			||||||
  enterNotifCleaning : { id: 'notification_purge.start', defaultMessage: 'Enter notification cleaning mode' },
 | 
					  enterNotifCleaning : { id: 'notification_purge.start', defaultMessage: 'Enter notification cleaning mode' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ColumnHeader extends React.PureComponent {
 | 
					class ColumnHeader extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,8 +8,8 @@ const messages = defineMessages({
 | 
				
			||||||
  unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },
 | 
					  unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class Account extends ImmutablePureComponent {
 | 
					class Account extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    domain: PropTypes.string,
 | 
					    domain: PropTypes.string,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,8 +6,8 @@ const messages = defineMessages({
 | 
				
			||||||
  load_more: { id: 'status.load_more', defaultMessage: 'Load more' },
 | 
					  load_more: { id: 'status.load_more', defaultMessage: 'Load more' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class LoadGap extends React.PureComponent {
 | 
					class LoadGap extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    disabled: PropTypes.bool,
 | 
					    disabled: PropTypes.bool,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -254,8 +254,8 @@ class Item extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class MediaGallery extends React.PureComponent {
 | 
					class MediaGallery extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    sensitive: PropTypes.bool,
 | 
					    sensitive: PropTypes.bool,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,8 +18,8 @@ const messages = defineMessages({
 | 
				
			||||||
  btnApply : { id: 'notification_purge.btn_apply', defaultMessage: 'Clear\nselected' },
 | 
					  btnApply : { id: 'notification_purge.btn_apply', defaultMessage: 'Clear\nselected' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class NotificationPurgeButtons extends ImmutablePureComponent {
 | 
					class NotificationPurgeButtons extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    onDeleteMarked : PropTypes.func.isRequired,
 | 
					    onDeleteMarked : PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -48,8 +48,8 @@ const obfuscatedCount = count => {
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class StatusActionBar extends ImmutablePureComponent {
 | 
					class StatusActionBar extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,8 @@ const messages = defineMessages({
 | 
				
			||||||
  localOnly: { id: 'status.local_only', defaultMessage: 'Only visible from your instance' },
 | 
					  localOnly: { id: 'status.local_only', defaultMessage: 'Only visible from your instance' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class StatusIcons extends React.PureComponent {
 | 
					class StatusIcons extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    status: ImmutablePropTypes.map.isRequired,
 | 
					    status: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,8 +11,8 @@ const messages = defineMessages({
 | 
				
			||||||
  direct: { id: 'privacy.direct.short', defaultMessage: 'Direct' },
 | 
					  direct: { id: 'privacy.direct.short', defaultMessage: 'Direct' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class VisibilityIcon extends ImmutablePureComponent {
 | 
					class VisibilityIcon extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    visibility: PropTypes.string,
 | 
					    visibility: PropTypes.string,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,8 +8,8 @@ import { me, isStaff } from 'flavours/glitch/util/initial_state';
 | 
				
			||||||
import { profileLink, accountAdminLink } from 'flavours/glitch/util/backend_links';
 | 
					import { profileLink, accountAdminLink } from 'flavours/glitch/util/backend_links';
 | 
				
			||||||
import Icon from 'flavours/glitch/components/icon';
 | 
					import Icon from 'flavours/glitch/components/icon';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ActionBar extends React.PureComponent {
 | 
					class ActionBar extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    account: ImmutablePropTypes.map.isRequired,
 | 
					    account: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -45,8 +45,8 @@ class LoadMoreMedia extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
export default class AccountGallery extends ImmutablePureComponent {
 | 
					class AccountGallery extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,8 +27,8 @@ const mapStateToProps = (state, { params: { accountId }, withReplies = false })
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
export default class AccountTimeline extends ImmutablePureComponent {
 | 
					class AccountTimeline extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['user_lists', 'blocks', 'next']),
 | 
					  hasMore: !!state.getIn(['user_lists', 'blocks', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Blocks extends ImmutablePureComponent {
 | 
					class Blocks extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['status_lists', 'bookmarks', 'next']),
 | 
					  hasMore: !!state.getIn(['status_lists', 'bookmarks', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Bookmarks extends ImmutablePureComponent {
 | 
					class Bookmarks extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    dispatch: PropTypes.func.isRequired,
 | 
					    dispatch: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,8 +10,8 @@ const messages = defineMessages({
 | 
				
			||||||
  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
					  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ColumnSettings extends React.PureComponent {
 | 
					class ColumnSettings extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    settings: ImmutablePropTypes.map.isRequired,
 | 
					    settings: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,9 +25,9 @@ const mapStateToProps = (state, { onlyMedia, columnId }) => {
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class CommunityTimeline extends React.PureComponent {
 | 
					class CommunityTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static defaultProps = {
 | 
					  static defaultProps = {
 | 
				
			||||||
    onlyMedia: false,
 | 
					    onlyMedia: false,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,8 +9,8 @@ const messages = defineMessages({
 | 
				
			||||||
  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
					  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ColumnSettings extends React.PureComponent {
 | 
					class ColumnSettings extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    settings: ImmutablePropTypes.map.isRequired,
 | 
					    settings: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,9 +22,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  conversationsMode: state.getIn(['settings', 'direct', 'conversations']),
 | 
					  conversationsMode: state.getIn(['settings', 'direct', 'conversations']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class DirectTimeline extends React.PureComponent {
 | 
					class DirectTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    dispatch: PropTypes.func.isRequired,
 | 
					    dispatch: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,9 +22,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['domain_lists', 'blocks', 'next']),
 | 
					  hasMore: !!state.getIn(['domain_lists', 'blocks', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Blocks extends ImmutablePureComponent {
 | 
					class Blocks extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -361,9 +361,9 @@ class EmojiPickerMenu extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class EmojiPickerDropdown extends React.PureComponent {
 | 
					class EmojiPickerDropdown extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    custom_emojis: ImmutablePropTypes.list,
 | 
					    custom_emojis: ImmutablePropTypes.list,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['status_lists', 'favourites', 'next']),
 | 
					  hasMore: !!state.getIn(['status_lists', 'favourites', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Favourites extends ImmutablePureComponent {
 | 
					class Favourites extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    dispatch: PropTypes.func.isRequired,
 | 
					    dispatch: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,9 +19,9 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  accountIds: state.getIn(['user_lists', 'favourited_by', props.params.statusId]),
 | 
					  accountIds: state.getIn(['user_lists', 'favourited_by', props.params.statusId]),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Favourites extends ImmutablePureComponent {
 | 
					class Favourites extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@ const messages = defineMessages({
 | 
				
			||||||
  reject: { id: 'follow_request.reject', defaultMessage: 'Reject' },
 | 
					  reject: { id: 'follow_request.reject', defaultMessage: 'Reject' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class AccountAuthorize extends ImmutablePureComponent {
 | 
					class AccountAuthorize extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    account: ImmutablePropTypes.map.isRequired,
 | 
					    account: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['user_lists', 'follow_requests', 'next']),
 | 
					  hasMore: !!state.getIn(['user_lists', 'follow_requests', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class FollowRequests extends ImmutablePureComponent {
 | 
					class FollowRequests extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,8 +24,8 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['user_lists', 'followers', props.params.accountId, 'next']),
 | 
					  hasMore: !!state.getIn(['user_lists', 'followers', props.params.accountId, 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
export default class Followers extends ImmutablePureComponent {
 | 
					class Followers extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,8 +24,8 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['user_lists', 'following', props.params.accountId, 'next']),
 | 
					  hasMore: !!state.getIn(['user_lists', 'following', props.params.accountId, 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
export default class Following extends ImmutablePureComponent {
 | 
					class Following extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,9 +24,9 @@ const messages = defineMessages({
 | 
				
			||||||
  featured_users: { id: 'navigation_bar.featured_users', defaultMessage: 'Featured users' },
 | 
					  featured_users: { id: 'navigation_bar.featured_users', defaultMessage: 'Featured users' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect()
 | 
					export default @connect()
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class gettingStartedMisc extends ImmutablePureComponent {
 | 
					class gettingStartedMisc extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    intl: PropTypes.object.isRequired,
 | 
					    intl: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,8 +10,8 @@ const messages = defineMessages({
 | 
				
			||||||
  noOptions: { id: 'hashtag.column_settings.select.no_options_message', defaultMessage: 'No suggestions found' },
 | 
					  noOptions: { id: 'hashtag.column_settings.select.no_options_message', defaultMessage: 'No suggestions found' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ColumnSettings extends React.PureComponent {
 | 
					class ColumnSettings extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    settings: ImmutablePropTypes.map.isRequired,
 | 
					    settings: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  hasUnread: state.getIn(['timelines', `hashtag:${props.params.id}`, 'unread']) > 0,
 | 
					  hasUnread: state.getIn(['timelines', `hashtag:${props.params.id}`, 'unread']) > 0,
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
export default class HashtagTimeline extends React.PureComponent {
 | 
					class HashtagTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  disconnects = [];
 | 
					  disconnects = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,8 +10,8 @@ const messages = defineMessages({
 | 
				
			||||||
  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
					  settings: { id: 'home.settings', defaultMessage: 'Column settings' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ColumnSettings extends React.PureComponent {
 | 
					class ColumnSettings extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    settings: ImmutablePropTypes.map.isRequired,
 | 
					    settings: ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,9 +19,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  isPartial: state.getIn(['timelines', 'home', 'isPartial']),
 | 
					  isPartial: state.getIn(['timelines', 'home', 'isPartial']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class HomeTimeline extends React.PureComponent {
 | 
					class HomeTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    dispatch: PropTypes.func.isRequired,
 | 
					    dispatch: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,9 +14,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  collapseEnabled: state.getIn(['local_settings', 'collapsed', 'enabled']),
 | 
					  collapseEnabled: state.getIn(['local_settings', 'collapsed', 'enabled']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class KeyboardShortcuts extends ImmutablePureComponent {
 | 
					class KeyboardShortcuts extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    intl: PropTypes.object.isRequired,
 | 
					    intl: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,9 +19,9 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
  onSubmit: () => dispatch(submitListEditor(false)),
 | 
					  onSubmit: () => dispatch(submitListEditor(false)),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class ListForm extends React.PureComponent {
 | 
					class ListForm extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    value: PropTypes.string.isRequired,
 | 
					    value: PropTypes.string.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,9 +22,9 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
  onReset: () => dispatch(resetListEditor()),
 | 
					  onReset: () => dispatch(resetListEditor()),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class ListEditor extends ImmutablePureComponent {
 | 
					class ListEditor extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    listId: PropTypes.string.isRequired,
 | 
					    listId: PropTypes.string.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,9 +27,9 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  hasUnread: state.getIn(['timelines', `list:${props.params.id}`, 'unread']) > 0,
 | 
					  hasUnread: state.getIn(['timelines', `list:${props.params.id}`, 'unread']) > 0,
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class ListTimeline extends React.PureComponent {
 | 
					class ListTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,9 +20,9 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
  onSubmit: () => dispatch(submitListEditor(true)),
 | 
					  onSubmit: () => dispatch(submitListEditor(true)),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class NewListForm extends React.PureComponent {
 | 
					class NewListForm extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    value: PropTypes.string.isRequired,
 | 
					    value: PropTypes.string.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,9 +31,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  lists: getOrderedLists(state),
 | 
					  lists: getOrderedLists(state),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Lists extends ImmutablePureComponent {
 | 
					class Lists extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,8 +20,8 @@ const messages = defineMessages({
 | 
				
			||||||
  close: { id: 'settings.close', defaultMessage: 'Close' },
 | 
					  close: { id: 'settings.close', defaultMessage: 'Close' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class LocalSettingsNavigation extends React.PureComponent {
 | 
					class LocalSettingsNavigation extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    index      : PropTypes.number,
 | 
					    index      : PropTypes.number,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,8 +30,8 @@ const messages = defineMessages({
 | 
				
			||||||
  rewrite_mentions_username: { id: 'settings.rewrite_mentions_username', defaultMessage:  'Rewrite with username' },
 | 
					  rewrite_mentions_username: { id: 'settings.rewrite_mentions_username', defaultMessage:  'Rewrite with username' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class LocalSettingsPage extends React.PureComponent {
 | 
					class LocalSettingsPage extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    index    : PropTypes.number,
 | 
					    index    : PropTypes.number,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['user_lists', 'mutes', 'next']),
 | 
					  hasMore: !!state.getIn(['user_lists', 'mutes', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Mutes extends ImmutablePureComponent {
 | 
					class Mutes extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ const messages = defineMessages({
 | 
				
			||||||
  markForDeletion: { id: 'notification.markForDeletion', defaultMessage: 'Mark for deletion' },
 | 
					  markForDeletion: { id: 'notification.markForDeletion', defaultMessage: 'Mark for deletion' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class NotificationOverlay extends ImmutablePureComponent {
 | 
					class NotificationOverlay extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    notification    : ImmutablePropTypes.map.isRequired,
 | 
					    notification    : ImmutablePropTypes.map.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -67,9 +67,9 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
  dispatch,
 | 
					  dispatch,
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Notifications extends React.PureComponent {
 | 
					class Notifications extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    columnId: PropTypes.string,
 | 
					    columnId: PropTypes.string,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,9 +21,9 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
  onReset: () => dispatch(resetPinnedAccountsEditor()),
 | 
					  onReset: () => dispatch(resetPinnedAccountsEditor()),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class PinnedAccountsEditor extends ImmutablePureComponent {
 | 
					class PinnedAccountsEditor extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    onClose: PropTypes.func.isRequired,
 | 
					    onClose: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,9 +18,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
 | 
					  hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class PinnedStatuses extends ImmutablePureComponent {
 | 
					class PinnedStatuses extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    dispatch: PropTypes.func.isRequired,
 | 
					    dispatch: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,9 +25,9 @@ const mapStateToProps = (state, { onlyMedia, columnId }) => {
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class PublicTimeline extends React.PureComponent {
 | 
					class PublicTimeline extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static defaultProps = {
 | 
					  static defaultProps = {
 | 
				
			||||||
    onlyMedia: false,
 | 
					    onlyMedia: false,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,9 +19,9 @@ const mapStateToProps = (state, props) => ({
 | 
				
			||||||
  accountIds: state.getIn(['user_lists', 'reblogged_by', props.params.statusId]),
 | 
					  accountIds: state.getIn(['user_lists', 'reblogged_by', props.params.statusId]),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class Reblogs extends ImmutablePureComponent {
 | 
					class Reblogs extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    params: PropTypes.object.isRequired,
 | 
					    params: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,8 +32,8 @@ const messages = defineMessages({
 | 
				
			||||||
  copy: { id: 'status.copy', defaultMessage: 'Copy link to status' },
 | 
					  copy: { id: 'status.copy', defaultMessage: 'Copy link to status' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ActionBar extends React.PureComponent {
 | 
					class ActionBar extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -139,9 +139,9 @@ const makeMapStateToProps = () => {
 | 
				
			||||||
  return mapStateToProps;
 | 
					  return mapStateToProps;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
@connect(makeMapStateToProps)
 | 
					@connect(makeMapStateToProps)
 | 
				
			||||||
export default class Status extends ImmutablePureComponent {
 | 
					class Status extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@ const messages = defineMessages({
 | 
				
			||||||
  reblog: { id: 'status.reblog', defaultMessage: 'Boost' },
 | 
					  reblog: { id: 'status.reblog', defaultMessage: 'Boost' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class BoostModal extends ImmutablePureComponent {
 | 
					class BoostModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,8 +3,8 @@ import PropTypes from 'prop-types';
 | 
				
			||||||
import { injectIntl, FormattedMessage } from 'react-intl';
 | 
					import { injectIntl, FormattedMessage } from 'react-intl';
 | 
				
			||||||
import Button from 'flavours/glitch/components/button';
 | 
					import Button from 'flavours/glitch/components/button';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class ConfirmationModal extends React.PureComponent {
 | 
					class ConfirmationModal extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    message: PropTypes.node.isRequired,
 | 
					    message: PropTypes.node.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -145,8 +145,8 @@ const mapDispatchToProps = dispatch => ({
 | 
				
			||||||
 * - Ctrl + left mouse button: pick background
 | 
					 * - Ctrl + left mouse button: pick background
 | 
				
			||||||
 * - Right mouse button: pick background
 | 
					 * - Right mouse button: pick background
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
export default class DoodleModal extends ImmutablePureComponent {
 | 
					class DoodleModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    options: ImmutablePropTypes.map,
 | 
					    options: ImmutablePropTypes.map,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
				
			||||||
import { FormattedMessage, injectIntl } from 'react-intl';
 | 
					import { FormattedMessage, injectIntl } from 'react-intl';
 | 
				
			||||||
import api from 'flavours/glitch/util/api';
 | 
					import api from 'flavours/glitch/util/api';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class EmbedModal extends ImmutablePureComponent {
 | 
					class EmbedModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    url: PropTypes.string.isRequired,
 | 
					    url: PropTypes.string.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@ const messages = defineMessages({
 | 
				
			||||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
 | 
					  favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class FavouriteModal extends ImmutablePureComponent {
 | 
					class FavouriteModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ const messages = defineMessages({
 | 
				
			||||||
  next: { id: 'lightbox.next', defaultMessage: 'Next' },
 | 
					  next: { id: 'lightbox.next', defaultMessage: 'Next' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class MediaModal extends ImmutablePureComponent {
 | 
					class MediaModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static contextTypes = {
 | 
					  static contextTypes = {
 | 
				
			||||||
    router: PropTypes.object,
 | 
					    router: PropTypes.object,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,9 +33,9 @@ const mapDispatchToProps = dispatch => {
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps, mapDispatchToProps)
 | 
					export default @connect(mapStateToProps, mapDispatchToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class MuteModal extends React.PureComponent {
 | 
					class MuteModal extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    isSubmitting: PropTypes.bool.isRequired,
 | 
					    isSubmitting: PropTypes.bool.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -159,9 +159,9 @@ const mapStateToProps = state => ({
 | 
				
			||||||
  domain: state.getIn(['meta', 'domain']),
 | 
					  domain: state.getIn(['meta', 'domain']),
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(mapStateToProps)
 | 
					export default @connect(mapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class OnboardingModal extends React.PureComponent {
 | 
					class OnboardingModal extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    onClose: PropTypes.func.isRequired,
 | 
					    onClose: PropTypes.func.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,9 +37,9 @@ const makeMapStateToProps = () => {
 | 
				
			||||||
  return mapStateToProps;
 | 
					  return mapStateToProps;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@connect(makeMapStateToProps)
 | 
					export default @connect(makeMapStateToProps)
 | 
				
			||||||
@injectIntl
 | 
					@injectIntl
 | 
				
			||||||
export default class ReportModal extends ImmutablePureComponent {
 | 
					class ReportModal extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    isSubmitting: PropTypes.bool,
 | 
					    isSubmitting: PropTypes.bool,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,9 +24,9 @@ export function getLink (index) {
 | 
				
			||||||
  return links[index].props.to;
 | 
					  return links[index].props.to;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
@withRouter
 | 
					@withRouter
 | 
				
			||||||
export default class TabsBar extends React.PureComponent {
 | 
					class TabsBar extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    intl: PropTypes.object.isRequired,
 | 
					    intl: PropTypes.object.isRequired,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,8 +84,8 @@ export const getPointerPosition = (el, event) => {
 | 
				
			||||||
  return position;
 | 
					  return position;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@injectIntl
 | 
					export default @injectIntl
 | 
				
			||||||
export default class Video extends React.PureComponent {
 | 
					class Video extends React.PureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static propTypes = {
 | 
					  static propTypes = {
 | 
				
			||||||
    preview: PropTypes.string,
 | 
					    preview: PropTypes.string,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue