Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

chore: remove banner #2081

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions apps/mgmt-ui/src/components/Banner/index.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions apps/mgmt-ui/src/layout/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import AccountMenu from '@/components/AccountMenu';
import { Banner } from '@/components/Banner';
import { useActiveApplication } from '@/hooks/useActiveApplication';
import type { SupaglueProps } from '@/pages/applications/[applicationId]';
import MenuIcon from '@mui/icons-material/Menu';
import AppBar from '@mui/material/AppBar';
Expand All @@ -21,12 +19,10 @@ interface HeaderProps {

export default function Header(props: HeaderProps & SupaglueProps) {
const { onDrawerToggle, title, tabs } = props;
const { activeApplication } = useActiveApplication();

return (
<React.Fragment>
<AppBar color="primary" position="sticky" elevation={0}>
{activeApplication && !activeApplication.isPaid && <Banner />}
<Toolbar>
<Grid container spacing={1} alignItems="center">
<Grid sx={{ display: { sm: 'none', xs: 'block' } }} item>
Expand Down
Loading