File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Shared/Components/License Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,10 @@ import { ReactComponent as ICChatSupport } from '@IconsV2/ic-chat-circle-dots.sv
55import { ReactComponent as TexturedBG } from '@Images/licenseCardBG.svg'
66import { ClipboardButton , getTTLInHumanReadableFormat } from '@Common/index'
77import { CONTACT_SUPPORT_LINK , ENTERPRISE_SUPPORT_LINK } from '@Shared/constants'
8- import { getHandleOpenURL } from '@Shared/Helpers'
98import { AppThemeType } from '@Shared/Providers'
109import { getThemeOppositeThemeClass } from '@Shared/Providers/ThemeProvider/utils'
1110
12- import { Button , ButtonVariantType } from '../Button'
11+ import { Button , ButtonComponentType , ButtonVariantType } from '../Button'
1312import { Icon } from '../Icon'
1413import { DevtronLicenseCardProps , LicenseStatus } from './types'
1514import { getLicenseColorsAccordingToStatus } from './utils'
@@ -147,7 +146,8 @@ export const DevtronLicenseCard = ({
147146 startIcon = { < ICChatSupport /> }
148147 text = "Contact support"
149148 variant = { ButtonVariantType . text }
150- onClick = { getHandleOpenURL ( CONTACT_SUPPORT_LINK ) }
149+ component = { ButtonComponentType . anchor }
150+ anchorProps = { { href : CONTACT_SUPPORT_LINK } }
151151 />
152152 </ div >
153153 ) }
You can’t perform that action at this time.
0 commit comments