Skip to content

Commit

Permalink
Remove unnecessary div
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmurray-codecov committed May 8, 2024
1 parent 61a01d4 commit 9c9b823
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/pages/RepoPage/CoverageOnboarding/NewRepoTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,15 @@ function NewRepoTab() {
return <NotFound />
}

const renderActivationBanner = !data?.isCurrentUserActivated && data?.repository.private
const renderActivationBanner =
!data?.isCurrentUserActivated && data?.repository.private

return (
<div className="flex flex-col gap-6">
<div className="flex flex-col gap-6 pt-4 lg:w-3/5">
<IntroBlurb />
{renderActivationBanner ? <ActivationBanner /> : null}
<CISelector provider={provider} owner={owner} repo={repo} />
<Content />
</div>
<div className="flex flex-col gap-6 pt-4 lg:w-3/5">
<IntroBlurb />
{renderActivationBanner ? <ActivationBanner /> : null}
<CISelector provider={provider} owner={owner} repo={repo} />
<Content />
</div>
)
}
Expand Down

0 comments on commit 9c9b823

Please sign in to comment.