mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
Remove unneeded file
This commit is contained in:
parent
49ba6d0ed7
commit
f72ac6ab3c
@ -1,22 +0,0 @@
|
||||
import { LemonButton } from 'lib/lemon-ui/LemonButton'
|
||||
import { ReactNode } from 'react'
|
||||
import { urls } from 'scenes/urls'
|
||||
|
||||
import { PipelineStage } from '~/types'
|
||||
|
||||
export function overlayForNewPipelineMenu(dataAttr: string): ReactNode[] {
|
||||
return Object.entries(PipelineStage)
|
||||
.filter(([_, value]) => value != 'site-app' && value != 'legacy-source')
|
||||
.map(([key, value]) => (
|
||||
<LemonButton
|
||||
key={value}
|
||||
to={urls.pipelineNodeNew(value)}
|
||||
data-attr={dataAttr}
|
||||
data-attr-pipeline-type={value}
|
||||
>
|
||||
<div className="flex flex-col text-sm py-1">
|
||||
<strong>{key}</strong>
|
||||
</div>
|
||||
</LemonButton>
|
||||
))
|
||||
}
|
Loading…
Reference in New Issue
Block a user