From bfe1401a3493633be14f21e1635803868cc69450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 6 Feb 2023 23:48:44 +0100 Subject: [PATCH] Fix imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/account.tsx | 2 +- app/soapbox/components/announcements/reaction.tsx | 2 +- app/soapbox/components/emoji-selector.tsx | 1 - app/soapbox/components/error-boundary.tsx | 8 ++++---- app/soapbox/components/event-preview.tsx | 2 +- app/soapbox/components/group-card.tsx | 6 +++--- app/soapbox/components/landing-gradient.tsx | 2 +- app/soapbox/components/link.tsx | 2 +- app/soapbox/components/list.tsx | 2 +- app/soapbox/components/polls/poll-option.tsx | 8 ++++---- app/soapbox/components/radio.tsx | 2 +- app/soapbox/components/scroll-top-button.tsx | 2 +- app/soapbox/components/sidebar-menu.tsx | 6 +++--- app/soapbox/components/ui/accordion/accordion.tsx | 2 +- app/soapbox/components/ui/card/card.tsx | 2 +- app/soapbox/components/ui/checkbox/checkbox.tsx | 2 +- app/soapbox/components/ui/counter/counter.tsx | 2 +- .../components/ui/emoji-selector/emoji-selector.tsx | 2 +- app/soapbox/components/ui/form-group/form-group.tsx | 4 ++-- app/soapbox/components/ui/input/input.tsx | 2 +- .../ui/phone-input/country-code-dropdown.tsx | 2 +- .../components/ui/progress-bar/progress-bar.tsx | 4 ++-- .../components/ui/radio-button/radio-button.tsx | 2 +- app/soapbox/components/ui/select/select.tsx | 2 +- app/soapbox/components/ui/slider/slider.tsx | 6 +++--- app/soapbox/components/ui/tabs/tabs.tsx | 2 +- app/soapbox/components/ui/tag-input/tag-input.tsx | 2 +- app/soapbox/components/ui/tag-input/tag.tsx | 2 +- app/soapbox/components/ui/toast/toast.tsx | 8 ++++---- app/soapbox/components/upload-progress.tsx | 2 +- app/soapbox/features/about/index.tsx | 2 +- .../account-timeline/components/moved-note.tsx | 2 +- app/soapbox/features/account/components/header.tsx | 2 +- app/soapbox/features/admin/components/report.tsx | 2 +- app/soapbox/features/ads/components/ad.tsx | 2 +- app/soapbox/features/aliases/components/search.tsx | 2 +- .../auth-login/components/consumers-list.tsx | 2 +- app/soapbox/features/auth-token-list/index.tsx | 2 +- .../features/chats/components/chat-composer.tsx | 4 ++-- .../features/chats/components/chat-list-item.tsx | 4 ++-- .../features/chats/components/chat-message-list.tsx | 4 ++-- .../chats/components/chat-page/chat-page.tsx | 2 +- .../chat-page/components/chat-page-main.tsx | 4 ++-- .../components/chat-widget/chat-pane-header.tsx | 2 +- .../chats/components/chat-widget/chat-settings.tsx | 4 ++-- .../features/directory/components/account-card.tsx | 2 +- app/soapbox/features/embedded-status/index.tsx | 2 +- app/soapbox/features/event/event-information.tsx | 4 ++-- .../features/feed-filtering/feed-carousel.tsx | 10 +++++----- .../features/feed-suggestions/feed-suggestions.tsx | 2 +- .../features/group/components/group-header.tsx | 2 +- app/soapbox/features/home-timeline/index.tsx | 2 +- app/soapbox/features/landing-page/index.tsx | 2 +- app/soapbox/features/migration/index.tsx | 2 +- .../notifications/components/notification.tsx | 2 +- .../onboarding/steps/avatar-selection-step.tsx | 2 +- .../features/onboarding/steps/completed-step.tsx | 2 +- .../onboarding/steps/cover-photo-selection-step.tsx | 4 ++-- .../features/onboarding/steps/fediverse-step.tsx | 4 ++-- .../onboarding/steps/suggested-accounts-step.tsx | 2 +- .../placeholder/components/placeholder-avatar.tsx | 4 ++-- .../placeholder/components/placeholder-card.tsx | 2 +- .../components/placeholder-chat-message.tsx | 4 ++-- .../components/placeholder-display-name.tsx | 2 +- .../components/placeholder-event-header.tsx | 2 +- .../components/placeholder-event-preview.tsx | 4 ++-- .../components/placeholder-group-card.tsx | 6 +++--- .../placeholder/components/placeholder-hashtag.tsx | 2 +- .../components/placeholder-media-gallery.tsx | 2 +- .../components/placeholder-notification.tsx | 2 +- .../components/placeholder-sidebar-suggestions.tsx | 2 +- .../components/placeholder-sidebar-trends.tsx | 2 +- .../components/placeholder-status-content.tsx | 2 +- .../features/public-layout/components/footer.tsx | 2 +- .../features/public-layout/components/sonar.tsx | 10 +++++----- .../soapbox-config/components/site-preview.tsx | 2 +- app/soapbox/features/status/index.tsx | 4 ++-- .../ui/components/floating-action-button.tsx | 2 +- .../compose-event-modal/compose-event-modal.tsx | 2 +- .../modals/compose-event-modal/upload-button.tsx | 2 +- .../features/ui/components/modals/hotkeys-modal.tsx | 2 +- .../modals/manage-group-modal/steps/details-step.tsx | 4 ++-- .../features/ui/components/modals/policy-modal.tsx | 12 ++++++------ .../components/modals/report-modal/report-modal.tsx | 2 +- .../modals/report-modal/steps/confirmation-step.tsx | 2 +- .../modals/report-modal/steps/reason-step.tsx | 2 +- app/soapbox/features/ui/components/navbar.tsx | 2 +- .../features/ui/components/profile-info-panel.tsx | 2 +- app/soapbox/features/verification/email-passthru.tsx | 8 ++++---- app/soapbox/features/verification/registration.tsx | 4 ++-- .../verification/steps/email-verification.tsx | 2 +- app/styles/application.scss | 1 - 92 files changed, 139 insertions(+), 141 deletions(-) diff --git a/app/soapbox/components/account.tsx b/app/soapbox/components/account.tsx index 710737963..2901433ec 100644 --- a/app/soapbox/components/account.tsx +++ b/app/soapbox/components/account.tsx @@ -43,7 +43,7 @@ const InstanceFavicon: React.FC = ({ account, disabled }) => { return ( diff --git a/app/soapbox/components/emoji-selector.tsx b/app/soapbox/components/emoji-selector.tsx index ad4d558a5..5ed0ccf19 100644 --- a/app/soapbox/components/emoji-selector.tsx +++ b/app/soapbox/components/emoji-selector.tsx @@ -1,4 +1,3 @@ -// import clsx from 'clsx'; import React from 'react'; import { HotKeys } from 'react-hotkeys'; import ImmutablePureComponent from 'react-immutable-pure-component'; diff --git a/app/soapbox/components/error-boundary.tsx b/app/soapbox/components/error-boundary.tsx index 4285c31d5..3a6b4ac0b 100644 --- a/app/soapbox/components/error-boundary.tsx +++ b/app/soapbox/components/error-boundary.tsx @@ -113,7 +113,7 @@ class ErrorBoundary extends React.PureComponent { const errorText = this.getErrorText(); return ( -
+
@@ -132,7 +132,7 @@ class ErrorBoundary extends React.PureComponent { defaultMessage="We're sorry for the interruption. If the problem persists, please reach out to our support team. You may also try to {clearCookies} (this will log you out)." values={{ clearCookies: ( - + {
- + @@ -162,7 +162,7 @@ class ErrorBoundary extends React.PureComponent { {errorText && (