From 708ec07e27dd02d03f2d155bcc61ae8de4c10c4a Mon Sep 17 00:00:00 2001 From: David Yip Date: Thu, 18 Jan 2018 09:13:07 -0600 Subject: [PATCH] Style fixes to make eslint happier, hopefully --- app/javascript/flavours/glitch/components/account.js | 2 +- .../flavours/glitch/components/attachment_list.js | 4 ++-- .../flavours/glitch/components/collapsable.js | 4 ++-- .../flavours/glitch/components/icon_button.js | 4 ++-- app/javascript/flavours/glitch/components/status.js | 4 ++-- .../flavours/glitch/components/status_header.js | 4 ++-- .../glitch/features/account/components/header.js | 10 +++++----- .../flavours/glitch/features/account_gallery/index.js | 4 ++-- .../features/composer/upload_form/progress/index.js | 4 ++-- .../flavours/glitch/features/list_editor/index.js | 4 ++-- .../glitch/features/ui/components/modal_root.js | 2 +- .../glitch/features/ui/components/upload_area.js | 4 ++-- app/javascript/flavours/glitch/util/bio_metadata.js | 4 ++-- app/javascript/flavours/glitch/util/url_regex.js | 8 ++++---- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/app/javascript/flavours/glitch/components/account.js b/app/javascript/flavours/glitch/components/account.js index 265ee94f67..df17f18970 100644 --- a/app/javascript/flavours/glitch/components/account.js +++ b/app/javascript/flavours/glitch/components/account.js @@ -132,7 +132,7 @@ export default class Account extends ImmutablePureComponent {
{buttons}
- : null} + : null} ); diff --git a/app/javascript/flavours/glitch/components/attachment_list.js b/app/javascript/flavours/glitch/components/attachment_list.js index b3d00b3357..3a28c70f3b 100644 --- a/app/javascript/flavours/glitch/components/attachment_list.js +++ b/app/javascript/flavours/glitch/components/attachment_list.js @@ -21,9 +21,9 @@ export default class AttachmentList extends ImmutablePureComponent { diff --git a/app/javascript/flavours/glitch/components/collapsable.js b/app/javascript/flavours/glitch/components/collapsable.js index fe125a729a..0e8b040332 100644 --- a/app/javascript/flavours/glitch/components/collapsable.js +++ b/app/javascript/flavours/glitch/components/collapsable.js @@ -6,9 +6,9 @@ import PropTypes from 'prop-types'; const Collapsable = ({ fullHeight, isVisible, children }) => ( {({ opacity, height }) => -
+ (
{children} -
+
) }
); diff --git a/app/javascript/flavours/glitch/components/icon_button.js b/app/javascript/flavours/glitch/components/icon_button.js index 13b91e8a1f..dfbe751101 100644 --- a/app/javascript/flavours/glitch/components/icon_button.js +++ b/app/javascript/flavours/glitch/components/icon_button.js @@ -116,7 +116,7 @@ export default class IconButton extends React.PureComponent { return ( {({ rotate }) => -