Skip to content

Commit

Permalink
fix: remove outer container that had conversion alert in it (#1297)
Browse files Browse the repository at this point in the history
Alert was removed, but the container was not.
Fix related to: #1292
  • Loading branch information
IanKrieger authored Aug 1, 2024
1 parent 27e4913 commit b464fdd
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions src/user/views/user/CampaignView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,22 @@ export function CampaignView() {

return (
<MiniSideBar>
<Box display="flex" overflow="auto" flexDirection="column">
<CardContainer
header={<Trans>Campaigns</Trans>}
sx={{
flexGrow: 1,
overflowX: "auto",
}}
additionalAction={<CampaignAgeFilter disabled={loading} />}
>
{!loading ? (
<CampaignList advertiser={data?.advertiserCampaigns} />
) : (
<Box m={3}>
<Skeleton variant="rounded" height={500} />
</Box>
)}
</CardContainer>
</Box>
<CardContainer
header={<Trans>Campaigns</Trans>}
sx={{
flexGrow: 1,
overflowX: "auto",
}}
additionalAction={<CampaignAgeFilter disabled={loading} />}
>
{!loading ? (
<CampaignList advertiser={data?.advertiserCampaigns} />
) : (
<Box m={3}>
<Skeleton variant="rounded" height={500} />
</Box>
)}
</CardContainer>
</MiniSideBar>
);
}

0 comments on commit b464fdd

Please sign in to comment.