Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: react email

Carl-Gerhard Lindesvärdf83fe7a0fcb7
diff --git a/packages/email/src/components/button.tsx b/packages/email/src/components/button.tsx
index 563844d64..bb1b5bff4 100644
--- a/packages/email/src/components/button.tsx
+++ b/packages/email/src/components/button.tsx
@@ -1,5 +1,6 @@
import { Button as EmailButton } from '@react-email/components';
-import type * as React from 'react';
+// biome-ignore lint/style/useImportType: <explanation>
+import React from 'react';
export function Button({
href,
diff --git a/packages/email/src/components/layout.tsx b/packages/email/src/components/layout.tsx
index 6900b31c4..aca77ac57 100644
--- a/packages/email/src/components/layout.tsx
+++ b/packages/email/src/components/layout.tsx
@@ -7,7 +7,8 @@ import {
Section,
Tailwind,
} from '@react-email/components';
-import type React from 'react';
+// biome-ignore lint/style/useImportType: <explanation>
+import React from 'react';
import { Footer } from './footer';
type Props = {
diff --git a/packages/email/src/components/list.tsx b/packages/email/src/components/list.tsx
index dbbd9afd9..9d7383102 100644
--- a/packages/email/src/components/list.tsx
+++ b/packages/email/src/components/list.tsx
@@ -1,4 +1,6 @@
import { Text } from '@react-email/components';
+// biome-ignore lint/style/useImportType: <explanation>
+import React from 'react';
export function List({ items }: { items: React.ReactNode[] }) {
return (