Changed error boundary to cover both full hub and disaptch app
This commit is contained in:
@@ -78,16 +78,12 @@ const Template = ({ user, password }: { user: User; password: string }) => (
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table
|
||||
align="center"
|
||||
width="680"
|
||||
style={{ margin: "0 auto", color: "#000000" }}
|
||||
>
|
||||
<table align="center" width="680" style={{ margin: "0 auto", color: "#000000" }}>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style={{ textAlign: "center", paddingTop: "30px" }}>
|
||||
<img
|
||||
src={`${process.env.HUB_URL}/mail/var_logo.png`}
|
||||
src={`${process.env.NEXT_PUBLIC_HUB_URL}/mail/var_logo.png`}
|
||||
alt="Logo"
|
||||
width="80"
|
||||
style={{ display: "block", margin: "0 auto" }}
|
||||
@@ -125,9 +121,8 @@ const Template = ({ user, password }: { user: User; password: string }) => (
|
||||
padding: "20px",
|
||||
}}
|
||||
>
|
||||
Dein Passwort wurde erfolgreich geändert. Wenn du diese
|
||||
Änderung nicht vorgenommen hast, kontaktiere bitte sofort
|
||||
unseren Support.
|
||||
Dein Passwort wurde erfolgreich geändert. Wenn du diese Änderung nicht
|
||||
vorgenommen hast, kontaktiere bitte sofort unseren Support.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -191,12 +186,6 @@ const Template = ({ user, password }: { user: User; password: string }) => (
|
||||
</Html>
|
||||
);
|
||||
|
||||
export function renderPasswordChanged({
|
||||
user,
|
||||
password,
|
||||
}: {
|
||||
user: User;
|
||||
password: string;
|
||||
}) {
|
||||
export function renderPasswordChanged({ user, password }: { user: User; password: string }) {
|
||||
return render(<Template user={user} password={password} />);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user