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

Commit 6620ccc

Browse files
author
Ryan Liu
authored
chore: remove banner (#2081)
1 parent 0a2cecc commit 6620ccc

File tree

2 files changed

+0
-64
lines changed

2 files changed

+0
-64
lines changed

apps/mgmt-ui/src/components/Banner/index.tsx

-60
This file was deleted.

apps/mgmt-ui/src/layout/Header.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import AccountMenu from '@/components/AccountMenu';
2-
import { Banner } from '@/components/Banner';
3-
import { useActiveApplication } from '@/hooks/useActiveApplication';
42
import type { SupaglueProps } from '@/pages/applications/[applicationId]';
53
import MenuIcon from '@mui/icons-material/Menu';
64
import AppBar from '@mui/material/AppBar';
@@ -21,12 +19,10 @@ interface HeaderProps {
2119

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

2623
return (
2724
<React.Fragment>
2825
<AppBar color="primary" position="sticky" elevation={0}>
29-
{activeApplication && !activeApplication.isPaid && <Banner />}
3026
<Toolbar>
3127
<Grid container spacing={1} alignItems="center">
3228
<Grid sx={{ display: { sm: 'none', xs: 'block' } }} item>

0 commit comments

Comments
 (0)