diff --git a/app/soapbox/components/__tests__/column_back_button_slim-test.js b/app/soapbox/components/__tests__/column_back_button_slim-test.js deleted file mode 100644 index a7865fb29..000000000 --- a/app/soapbox/components/__tests__/column_back_button_slim-test.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import ColumnBackButtonSlim from '../column_back_button_slim'; -import { createComponent } from 'soapbox/test_helpers'; - -describe('', () => { - it('renders correctly', () => { - const component = createComponent(); - const tree = component.toJSON(); - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/app/soapbox/components/column_back_button_slim.js b/app/soapbox/components/column_back_button_slim.js deleted file mode 100644 index 70f4081df..000000000 --- a/app/soapbox/components/column_back_button_slim.js +++ /dev/null @@ -1,19 +0,0 @@ -import React from 'react'; -import { FormattedMessage } from 'react-intl'; -import ColumnBackButton from './column_back_button'; -import Icon from 'soapbox/components/icon'; - -export default class ColumnBackButtonSlim extends ColumnBackButton { - - render() { - return ( -
-
- - -
-
- ); - } - -} diff --git a/app/soapbox/components/sub_navigation.js b/app/soapbox/components/sub_navigation.js index a48d211c6..4ed61b69b 100644 --- a/app/soapbox/components/sub_navigation.js +++ b/app/soapbox/components/sub_navigation.js @@ -79,7 +79,7 @@ export default class SubNavigation extends React.PureComponent { onKeyUp={this.handleBackKeyUp} > - + {message && (
diff --git a/app/soapbox/features/admin/awaiting_approval.js b/app/soapbox/features/admin/awaiting_approval.js index 0d95fa685..8193f9406 100644 --- a/app/soapbox/features/admin/awaiting_approval.js +++ b/app/soapbox/features/admin/awaiting_approval.js @@ -44,7 +44,7 @@ class AwaitingApproval extends ImmutablePureComponent { const showLoading = isLoading && accountIds.count() === 0; return ( - + +
{mau &&
diff --git a/app/soapbox/features/admin/moderation_log.js b/app/soapbox/features/admin/moderation_log.js index 853cb9c1e..134699908 100644 --- a/app/soapbox/features/admin/moderation_log.js +++ b/app/soapbox/features/admin/moderation_log.js @@ -60,7 +60,7 @@ class ModerationLog extends ImmutablePureComponent { const showLoading = isLoading && items.count() === 0; return ( - + ; return ( - + { diff --git a/app/soapbox/features/blocks/index.js b/app/soapbox/features/blocks/index.js index a25c6337c..a0dbddfe6 100644 --- a/app/soapbox/features/blocks/index.js +++ b/app/soapbox/features/blocks/index.js @@ -54,7 +54,7 @@ class Blocks extends ImmutablePureComponent { const emptyMessage = ; return ( - + +
; return ( - + +
diff --git a/app/soapbox/features/export_data/index.js b/app/soapbox/features/export_data/index.js index 561d3d864..1c472edce 100644 --- a/app/soapbox/features/export_data/index.js +++ b/app/soapbox/features/export_data/index.js @@ -52,7 +52,7 @@ class ExportData extends ImmutablePureComponent { const { intl } = this.props; return ( - + diff --git a/app/soapbox/features/federation_restrictions/index.js b/app/soapbox/features/federation_restrictions/index.js index 2928b0f52..1332218e8 100644 --- a/app/soapbox/features/federation_restrictions/index.js +++ b/app/soapbox/features/federation_restrictions/index.js @@ -50,7 +50,7 @@ class FederationRestrictions extends ImmutablePureComponent { const emptyMessage = disclosed ? messages.emptyMessage : messages.notDisclosed; return ( - +
; return ( - +
diff --git a/app/soapbox/features/follow_requests/index.js b/app/soapbox/features/follow_requests/index.js index f09624cec..74b2ac7fb 100644 --- a/app/soapbox/features/follow_requests/index.js +++ b/app/soapbox/features/follow_requests/index.js @@ -54,7 +54,7 @@ class FollowRequests extends ImmutablePureComponent { const emptyMessage = ; return ( - + + {features.importMutes && } diff --git a/app/soapbox/features/lists/index.js b/app/soapbox/features/lists/index.js index f5dbfcf8e..4a26624ba 100644 --- a/app/soapbox/features/lists/index.js +++ b/app/soapbox/features/lists/index.js @@ -60,7 +60,7 @@ class Lists extends ImmutablePureComponent { const emptyMessage = ; return ( - +
diff --git a/app/soapbox/features/mutes/index.js b/app/soapbox/features/mutes/index.js index 540e9f54f..26278ec26 100644 --- a/app/soapbox/features/mutes/index.js +++ b/app/soapbox/features/mutes/index.js @@ -54,7 +54,7 @@ class Mutes extends ImmutablePureComponent { const emptyMessage = ; return ( - + + ; return ( - + + diff --git a/app/soapbox/features/security/mfa_form.js b/app/soapbox/features/security/mfa_form.js index 3f9074f50..79c86551c 100644 --- a/app/soapbox/features/security/mfa_form.js +++ b/app/soapbox/features/security/mfa_form.js @@ -88,7 +88,7 @@ class MfaForm extends ImmutablePureComponent { const { displayOtpForm } = this.state; return ( - + { settings.get('otpEnabled') === true && } { settings.get('otpEnabled') === false && } diff --git a/app/soapbox/features/server_info/index.js b/app/soapbox/features/server_info/index.js index c79e54f42..f6c6193ae 100644 --- a/app/soapbox/features/server_info/index.js +++ b/app/soapbox/features/server_info/index.js @@ -27,7 +27,7 @@ class ServerInfo extends ImmutablePureComponent { const { intl, instance } = this.props; return ( - +
diff --git a/app/soapbox/features/soapbox_config/index.js b/app/soapbox/features/soapbox_config/index.js index 70da9c18b..02de151dc 100644 --- a/app/soapbox/features/soapbox_config/index.js +++ b/app/soapbox/features/soapbox_config/index.js @@ -219,7 +219,7 @@ class SoapboxConfig extends ImmutablePureComponent { const soapbox = this.getSoapboxConfig(); return ( - +
diff --git a/app/soapbox/features/ui/components/profile_info_panel.js b/app/soapbox/features/ui/components/profile_info_panel.js index b2e71fba1..e123b185e 100644 --- a/app/soapbox/features/ui/components/profile_info_panel.js +++ b/app/soapbox/features/ui/components/profile_info_panel.js @@ -170,7 +170,7 @@ class ProfileInfoPanel extends ImmutablePureComponent { {fields.map((pair, i) => isTicker(pair.get('name', '')) ? ( - + {Component => (