Skip to content

Commit

Permalink
[Platform]: reorder study page widgets (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa authored Nov 22, 2024
1 parent e5bcd0c commit 427ccae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/platform/src/pages/StudyPage/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ function Profile({ studyId, studyType, diseases }: ProfileProps) {
<SummaryContainer>
{studyType === "gwas" && (
<>
<SharedTraitStudiesSummary />
<GWASCredidbleSetsSummary />
<SharedTraitStudiesSummary />
</>
)}
{studyType !== "gwas" && <QTLCredibleSetsSummary />}
Expand All @@ -84,10 +84,10 @@ function Profile({ studyId, studyType, diseases }: ProfileProps) {
{studyType === "gwas" && (
<>
<Suspense fallback={<SectionLoader />}>
<SharedTraitStudiesSection studyId={studyId} diseaseIds={diseaseIds} entity={STUDY} />
<GWASCredibleSetsSection id={studyId} entity={STUDY} />
</Suspense>
<Suspense fallback={<SectionLoader />}>
<GWASCredibleSetsSection id={studyId} entity={STUDY} />
<SharedTraitStudiesSection studyId={studyId} diseaseIds={diseaseIds} entity={STUDY} />
</Suspense>
</>
)}
Expand Down

0 comments on commit 427ccae

Please sign in to comment.