Add react import in email

Required since using tsx watch src/serve.ts and not nodemon
This commit is contained in:
MartinBraquet
2025-10-25 16:32:55 +02:00
parent 64c077396f
commit 319c14b0e0
6 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Body, Button, Column, Container, Head, Html, Preview, Row, Section, Text,} from '@react-email/components'
import {type User} from 'common/user'
import {DOMAIN} from 'common/envs/constants'

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Body, Button, Container, Head, Html, Preview, Section, Text,} from '@react-email/components'
import {DOMAIN} from 'common/envs/constants'
import {type ProfileRow} from 'common/profiles/profile'

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Body, Button, Container, Head, Html, Preview, Section, Text,} from '@react-email/components'
import {type User} from 'common/user'
import {type ProfileRow} from 'common/profiles/profile'

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Body, Container, Head, Html, Link, Preview, Section, Text,} from '@react-email/components'
import {type User} from 'common/user'
import {mockUser,} from './functions/mock'

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Column, Img, Link, Row, Section, Text} from "@react-email/components";
import {DOMAIN} from "common/envs/constants";

View File

@@ -1,3 +1,4 @@
import React from 'react';
import {Body, Button, Container, Head, Html, Preview, Section, Text,} from '@react-email/components'
import {type User} from 'common/user'
import {mockUser,} from './functions/mock'