Skip to content

Commit a2a86fc

Browse files
committed
chore: announcement removed from page header
1 parent 836e903 commit a2a86fc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Shared/Components/Header/PageHeader.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { ReactComponent as ICMediumPaintBucket } from '@IconsV2/ic-medium-paintb
2626
import { getAlphabetIcon, TippyCustomized, TippyTheme } from '../../../Common'
2727
import { MAX_LOGIN_COUNT, POSTHOG_EVENT_ONBOARDING } from '../../../Common/Constants'
2828
import { useMainContext, useTheme, useUserEmail } from '../../Providers'
29-
import AnnouncementBanner from '../AnnouncementBanner/AnnouncementBanner'
3029
import GettingStartedCard from '../GettingStartedCard/GettingStarted'
3130
import { InfoIconTippy } from '../InfoIconTippy'
3231
import LogoutCard from '../LogoutCard'
@@ -49,7 +48,6 @@ const PageHeader = ({
4948
showCloseButton = false,
5049
onClose,
5150
markAsBeta,
52-
showAnnouncementHeader,
5351
tippyProps,
5452
}: PageHeaderType) => {
5553
const {
@@ -313,7 +311,6 @@ const PageHeader = ({
313311
{renderLogoutHelpSection()}
314312
</div>
315313
)}
316-
{showAnnouncementHeader && <AnnouncementBanner parentClassName="page-header-banner" />}
317314
</div>
318315
)
319316
}

src/Shared/Components/Header/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export interface PageHeaderType {
3535
showCloseButton?: boolean
3636
onClose?: () => void
3737
markAsBeta?: boolean
38-
showAnnouncementHeader?: boolean
3938
tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
4039
isTippyCustomized?: boolean
4140
tippyRedirectLink?: string

0 commit comments

Comments
 (0)