Skip to content

Commit

Permalink
fix double import
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Apr 16, 2024
1 parent 0f0c848 commit cc8af55
Showing 1 changed file with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
IconToggle,
IconTrends,
} from '@posthog/icons'
import { LemonBanner, LemonBanner, LemonButton, Link } from '@posthog/lemon-ui'
import { LemonBanner, LemonButton, Link } from '@posthog/lemon-ui'
import { useActions, useValues } from 'kea'
import { SupportForm } from 'lib/components/Support/SupportForm'
import { getPublicSupportSnippet, supportLogic } from 'lib/components/Support/supportLogic'
Expand Down Expand Up @@ -205,25 +205,27 @@ export const SidePanelSupport = (): JSX.Element => {
</LemonBanner>
</Section>
) : null}
{status !== 'operational' ? (
<Section title="">
<LemonBanner type={status.includes('outage') ? 'error' : 'warning'}>
<div>
<span>We are experiencing {status.includes('outage') ? 'major' : ''} issues.</span>
<LemonButton
type="secondary"
fullWidth
center
targetBlank
onClick={() => openSidePanel(SidePanelTab.Status)}
className="mt-2 bg-[white]"
>
View system status
</LemonButton>
</div>
</LemonBanner>
</Section>
) : null}
{status !== 'operational' ? (
<Section title="">
<LemonBanner type={status.includes('outage') ? 'error' : 'warning'}>
<div>
<span>
We are experiencing {status.includes('outage') ? 'major' : ''} issues.
</span>
<LemonButton
type="secondary"
fullWidth
center
targetBlank
onClick={() => openSidePanel(SidePanelTab.Status)}
className="mt-2 bg-[white]"
>
View system status
</LemonButton>
</div>
</LemonBanner>
</Section>
) : null}

{hasAvailableFeature(AvailableFeature.EMAIL_SUPPORT) ? (
<>
Expand Down

0 comments on commit cc8af55

Please sign in to comment.