Skip to content

Commit

Permalink
chore: spacing in code
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekaplan123 committed Jan 12, 2025
1 parent da1ef38 commit 7037c4f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
7 changes: 2 additions & 5 deletions static/js/ReaderPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand All @@ -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";
Expand Down
3 changes: 2 additions & 1 deletion static/js/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -666,4 +666,5 @@ ProfileSummary.propTypes = {
toggleSignUpModal: PropTypes.func.isRequired,
};

export {UserProfile, UserBackground};
export { UserProfile, UserBackground };

3 changes: 1 addition & 2 deletions static/js/sheets/Sheet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
10 changes: 5 additions & 5 deletions static/js/sheets/SheetContentSidebar.jsx
Original file line number Diff line number Diff line change
@@ -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);
Expand Down Expand Up @@ -58,4 +58,4 @@ const SheetCollectionsList = ({collections}) => {
</div>
</div>;
}
export default SheetContentSidebar;
export default SheetContentSidebar;

0 comments on commit 7037c4f

Please sign in to comment.