refactor(auth): replace relative imports with @zen/core alias
Update BaseLayout imports in auth email templates to use the `@zen/core/email/templates` module alias instead of relative paths, improving maintainability and consistency across the codebase.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Section, Text } from "@react-email/components";
|
||||
import { BaseLayout } from "../../../core/email/templates/BaseLayout.jsx";
|
||||
import { BaseLayout } from "@zen/core/email/templates";
|
||||
|
||||
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 "@zen/core/email/templates";
|
||||
|
||||
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 "@zen/core/email/templates";
|
||||
|
||||
export const VerificationEmail = ({ verificationUrl, companyName }) => (
|
||||
<BaseLayout
|
||||
|
||||
Reference in New Issue
Block a user