Skip to content

Commit

Permalink
Update SkyPortal to 61abad3d1e9312f19de9bc309abefa934374ba90
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Jul 31, 2023
1 parent 20924e8 commit dffbd98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions extensions/skyportal/static/js/components/SourceDesktop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import RemoveIcon from "@mui/icons-material/Remove";
import HelpOutlineOutlinedIcon from "@mui/icons-material/HelpOutlineOutlined";
import Button from "./Button";

import CommentList from "./CommentList";
import CopyPhotometryDialog from "./CopyPhotometryDialog";
import ClassificationList from "./ClassificationList";
import ClassificationForm from "./ClassificationForm";
Expand Down Expand Up @@ -67,6 +66,8 @@ import SourcePlugins from "./SourcePlugins";
import * as spectraActions from "../ducks/spectra";
import * as sourceActions from "../ducks/source";

const CommentList = React.lazy(() => import("./CommentList"));

const VegaHR = React.lazy(() => import("./VegaHR"));

const Plot = React.lazy(() => import(/* webpackChunkName: "Bokeh" */ "./Plot"));
Expand Down Expand Up @@ -871,7 +872,9 @@ const SourceDesktop = ({ source }) => {
</Typography>
</AccordionSummary>
<AccordionDetails>
<CommentList />
<Suspense fallback={<CircularProgress />}>
<CommentList />
</Suspense>
</AccordionDetails>
</Accordion>
</div>
Expand Down

0 comments on commit dffbd98

Please sign in to comment.