fix: correct import paths and remove DatabaseError export
- Fix BaseLayout import paths in auth email templates from `../../core/...` to `../../../core/...` to match correct directory depth - Remove unused `DatabaseError` from db.js exports
This commit is contained in:
@@ -180,7 +180,6 @@ async function tableExists(tableName) {
|
||||
}
|
||||
|
||||
export {
|
||||
DatabaseError,
|
||||
query,
|
||||
queryOne,
|
||||
queryAll,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Section, Text } from "@react-email/components";
|
||||
import { BaseLayout } from "../../core/email/templates/BaseLayout.jsx";
|
||||
import { BaseLayout } from "../../../core/email/templates/BaseLayout.jsx";
|
||||
|
||||
export const PasswordChangedEmail = ({ email, companyName }) => (
|
||||
<BaseLayout
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Section, Text, Link } from "@react-email/components";
|
||||
import { BaseLayout } from "../../core/email/templates/BaseLayout.jsx";
|
||||
import { BaseLayout } from "../../../core/email/templates/BaseLayout.jsx";
|
||||
|
||||
export const PasswordResetEmail = ({ resetUrl, companyName }) => (
|
||||
<BaseLayout
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Section, Text, Link } from "@react-email/components";
|
||||
import { BaseLayout } from "../../core/email/templates/BaseLayout.jsx";
|
||||
import { BaseLayout } from "../../../core/email/templates/BaseLayout.jsx";
|
||||
|
||||
export const VerificationEmail = ({ verificationUrl, companyName }) => (
|
||||
<BaseLayout
|
||||
|
||||
Reference in New Issue
Block a user