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

Commit

Permalink
chore: remove banner (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfryan committed Feb 15, 2024
1 parent 0a2cecc commit 6620ccc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 64 deletions.
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

0 comments on commit 6620ccc

Please sign in to comment.