Skip to content

Commit ac1acf6

Browse files
committed
password-reset template cleanup
1 parent 71a3b21 commit ac1acf6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/emails/passwordReset.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,18 @@ import {
44
Container,
55
Head,
66
Html,
7-
Img,
87
Link,
98
Preview,
109
Section,
1110
Text,
1211
render,
1312
} from '@react-email/components';
14-
import * as React from 'react';
15-
import config from '../config/config.service';
1613

1714
export interface DropboxResetPasswordEmailProps {
1815
userFirstname?: string;
1916
resetPasswordLink?: string;
2017
}
2118

22-
const baseUrl = config.CLIENT_SIDE_URL || '';
23-
2419
export const DropboxResetPasswordEmail = ({
2520
userFirstname,
2621
resetPasswordLink,
@@ -59,6 +54,11 @@ export const DropboxResetPasswordEmail = ({
5954
);
6055
};
6156

57+
DropboxResetPasswordEmail.PreviewProps = {
58+
userFirstname: 'Alan',
59+
resetPasswordLink: 'https://dropbox.com',
60+
} as DropboxResetPasswordEmailProps;
61+
6262
export default DropboxResetPasswordEmail;
6363

6464
const main = {

0 commit comments

Comments
 (0)