From 6e3845d0c1f921791f2de132a771af3523fc20e8 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 3 Mar 2026 19:32:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F(frontend)=20fix=20missing=20?= =?UTF-8?q?`import=20type`=20in=20Rating.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace runtime import of PostHog with a type-only import to avoid loading the module at runtime. --- src/frontend/src/features/rooms/components/Rating.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/components/Rating.tsx b/src/frontend/src/features/rooms/components/Rating.tsx index 3a4f8cc8..891c44ea 100644 --- a/src/frontend/src/features/rooms/components/Rating.tsx +++ b/src/frontend/src/features/rooms/components/Rating.tsx @@ -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'