⚡️(frontend) fix missing import type in Rating.tsx
Replace runtime import of PostHog with a type-only import to avoid loading the module at runtime.
This commit is contained in:
committed by
aleb_the_flash
parent
41b171da68
commit
6e3845d0c1
@@ -4,7 +4,7 @@ import { cva } from '@/styled-system/css'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { styled, VStack } from '@/styled-system/jsx'
|
||||
import { usePostHog } from 'posthog-js/react'
|
||||
import { PostHog } from 'posthog-js'
|
||||
import type { PostHog } from 'posthog-js'
|
||||
import { Button as RACButton } from 'react-aria-components'
|
||||
import { useIsAnalyticsEnabled } from '@/features/analytics/hooks/useIsAnalyticsEnabled'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user