diff --git a/static/js/ReaderPanel.jsx b/static/js/ReaderPanel.jsx index e2cd14495a..8ab7123fd9 100644 --- a/static/js/ReaderPanel.jsx +++ b/static/js/ReaderPanel.jsx @@ -3,19 +3,16 @@ import Component from 'react-class'; import classNames from 'classnames'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; -import extend from 'extend'; import Sefaria from './sefaria/sefaria'; import {ContentLanguageContext} from './context'; import $ from './sefaria/sefariaJquery'; import TextColumn from './TextColumn'; import TextsPage from './TextsPage'; -import {SearchResultList} from "./SearchResultList"; import { ConnectionsPanel, ConnectionsPanelHeader, } from './ConnectionsPanel'; import BookPage from './BookPage'; -import SearchPage from './SearchPage'; import Sheet from './sheets/Sheet'; import SheetMetadata from './SheetMetadata'; import TopicPageAll from './TopicPageAll'; @@ -24,7 +21,7 @@ import TopicsPage from './TopicsPage'; import CollectionPage from "./CollectionPage" import { NotificationsPanel } from './NotificationsPanel'; import UserHistoryPanel from './UserHistoryPanel'; -import {UserProfile} from './UserProfile'; +import { UserProfile } from './UserProfile'; import CommunityPage from './CommunityPage'; import CalendarsPage from './CalendarsPage' import UserStats from './UserStats'; @@ -39,7 +36,7 @@ import { SaveButton, CategoryColorLine, CategoryAttribution, - ToggleSet, InterfaceText, EnglishText, HebrewText, SignUpModal, + ToggleSet } from './Misc'; import {ContentText} from "./ContentText"; import SheetsWithRefPage from "./sheets/SheetsWithRefPage"; diff --git a/static/js/UserProfile.jsx b/static/js/UserProfile.jsx index 6658045390..766466acbe 100644 --- a/static/js/UserProfile.jsx +++ b/static/js/UserProfile.jsx @@ -666,4 +666,5 @@ ProfileSummary.propTypes = { toggleSignUpModal: PropTypes.func.isRequired, }; -export {UserProfile, UserBackground}; +export { UserProfile, UserBackground }; + diff --git a/static/js/sheets/Sheet.jsx b/static/js/sheets/Sheet.jsx index 66c96c278a..676d75b2a5 100644 --- a/static/js/sheets/Sheet.jsx +++ b/static/js/sheets/Sheet.jsx @@ -5,12 +5,11 @@ import Component from 'react-class' import $ from '../sefaria/sefariaJquery'; import Sefaria from '../sefaria/sefaria'; import SefariaEditor from '../Editor'; - import SheetContentSidebar from "./SheetContentSidebar"; import { LoadingMessage, } from '../Misc'; -import {SheetContent} from "./SheetContent"; +import { SheetContent } from "./SheetContent"; class Sheet extends Component { constructor(props) { diff --git a/static/js/sheets/SheetContentSidebar.jsx b/static/js/sheets/SheetContentSidebar.jsx index 63653664c3..91fae3c9c9 100644 --- a/static/js/sheets/SheetContentSidebar.jsx +++ b/static/js/sheets/SheetContentSidebar.jsx @@ -1,8 +1,8 @@ -import {FollowButton, InterfaceText} from "../Misc"; -import {ProfilePic} from "../ProfilePic"; +import { FollowButton, InterfaceText } from "../Misc"; +import { ProfilePic } from "../ProfilePic"; import Sefaria from "../sefaria/sefaria"; -import React, {useEffect, useState} from "react"; -import {UserBackground} from "../UserProfile"; +import React, { useEffect, useState } from "react"; +import { UserBackground } from "../UserProfile"; const SheetContentSidebar = ({authorImage, authorStatement, authorUrl, toggleSignUpModal, collections}) => { const [loading, setLoading] = useState(true); const [profile, setProfile] = useState(null); @@ -58,4 +58,4 @@ const SheetCollectionsList = ({collections}) => { ; } -export default SheetContentSidebar; \ No newline at end of file +export default SheetContentSidebar;