From 9584b23ed74d5bcbcd660fd8a25c7c4ecbae263b Mon Sep 17 00:00:00 2001 From: Hyko Date: Tue, 14 Apr 2026 19:31:00 -0400 Subject: [PATCH] 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 --- src/core/database/db.js | 1 - src/features/auth/templates/PasswordChangedEmail.jsx | 2 +- src/features/auth/templates/PasswordResetEmail.jsx | 2 +- src/features/auth/templates/VerificationEmail.jsx | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/database/db.js b/src/core/database/db.js index 45618b3..2fbf956 100644 --- a/src/core/database/db.js +++ b/src/core/database/db.js @@ -180,7 +180,6 @@ async function tableExists(tableName) { } export { - DatabaseError, query, queryOne, queryAll, diff --git a/src/features/auth/templates/PasswordChangedEmail.jsx b/src/features/auth/templates/PasswordChangedEmail.jsx index 043e557..b1e0871 100644 --- a/src/features/auth/templates/PasswordChangedEmail.jsx +++ b/src/features/auth/templates/PasswordChangedEmail.jsx @@ -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 }) => ( ( (