From 708ec07e27dd02d03f2d155bcc61ae8de4c10c4a Mon Sep 17 00:00:00 2001 From: David Yip Date: Thu, 18 Jan 2018 09:13:07 -0600 Subject: Style fixes to make eslint happier, hopefully --- .../flavours/glitch/features/account/components/header.js | 10 +++++----- .../flavours/glitch/features/account_gallery/index.js | 4 ++-- .../glitch/features/composer/upload_form/progress/index.js | 4 ++-- app/javascript/flavours/glitch/features/list_editor/index.js | 4 ++-- .../flavours/glitch/features/ui/components/modal_root.js | 2 +- .../flavours/glitch/features/ui/components/upload_area.js | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'app/javascript/flavours/glitch/features') diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 1a258c7e4..767e4da47 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -64,11 +64,11 @@ export default class Header extends ImmutablePureComponent {
diff --git a/app/javascript/flavours/glitch/features/account_gallery/index.js b/app/javascript/flavours/glitch/features/account_gallery/index.js index 951e019e3..df66b3b21 100644 --- a/app/javascript/flavours/glitch/features/account_gallery/index.js +++ b/app/javascript/flavours/glitch/features/account_gallery/index.js @@ -95,10 +95,10 @@ export default class AccountGallery extends ImmutablePureComponent {
{medias.map(media => - + />) )} {loadMore}
diff --git a/app/javascript/flavours/glitch/features/composer/upload_form/progress/index.js b/app/javascript/flavours/glitch/features/composer/upload_form/progress/index.js index 9dac6acf9..8c4b0eea6 100644 --- a/app/javascript/flavours/glitch/features/composer/upload_form/progress/index.js +++ b/app/javascript/flavours/glitch/features/composer/upload_form/progress/index.js @@ -36,10 +36,10 @@ export default function ComposerUploadFormProgress ({ progress }) { style={{ width: spring(progress) }} > {({ width }) => -
+ />) }
diff --git a/app/javascript/flavours/glitch/features/list_editor/index.js b/app/javascript/flavours/glitch/features/list_editor/index.js index 7f9c6b0e9..e6df4755a 100644 --- a/app/javascript/flavours/glitch/features/list_editor/index.js +++ b/app/javascript/flavours/glitch/features/list_editor/index.js @@ -67,9 +67,9 @@ export default class ListEditor extends ImmutablePureComponent { {({ x }) => -
+ (
{searchAccountIds.map(accountId => )} -
+
) }
diff --git a/app/javascript/flavours/glitch/features/ui/components/modal_root.js b/app/javascript/flavours/glitch/features/ui/components/modal_root.js index a3e734867..e12ee1761 100644 --- a/app/javascript/flavours/glitch/features/ui/components/modal_root.js +++ b/app/javascript/flavours/glitch/features/ui/components/modal_root.js @@ -124,7 +124,7 @@ export default class ModalRoot extends React.PureComponent { ( {(SpecificComponent) => } ) : - null + null }
diff --git a/app/javascript/flavours/glitch/features/ui/components/upload_area.js b/app/javascript/flavours/glitch/features/ui/components/upload_area.js index cc6b6d171..11a10baf1 100644 --- a/app/javascript/flavours/glitch/features/ui/components/upload_area.js +++ b/app/javascript/flavours/glitch/features/ui/components/upload_area.js @@ -38,12 +38,12 @@ export default class UploadArea extends React.PureComponent { return ( {({ backgroundOpacity, backgroundScale }) => -
+ (
-
+
) } ); -- cgit