From 97a790447b86fb3319bf16aa00a16899b50bbf75 Mon Sep 17 00:00:00 2001 From: Bu Kinoshita <6929565+bukinoshita@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:39:58 +0000 Subject: [PATCH] chore(all): use biome (#1833) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gabriel miranda --- packages/react-email/package.json | 5 +---- .../src/components/sidebar/file-tree-directory-children.tsx | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/react-email/package.json b/packages/react-email/package.json index 03fbaeb470..99ed4f3c2d 100644 --- a/packages/react-email/package.json +++ b/packages/react-email/package.json @@ -18,10 +18,7 @@ "url": "https://github.com/resend/react-email.git", "directory": "packages/react-email" }, - "keywords": [ - "react", - "email" - ], + "keywords": ["react", "email"], "engines": { "node": ">=18.0.0" }, diff --git a/packages/react-email/src/components/sidebar/file-tree-directory-children.tsx b/packages/react-email/src/components/sidebar/file-tree-directory-children.tsx index 804cc24df3..d0d7293482 100644 --- a/packages/react-email/src/components/sidebar/file-tree-directory-children.tsx +++ b/packages/react-email/src/components/sidebar/file-tree-directory-children.tsx @@ -3,7 +3,6 @@ import { AnimatePresence, LayoutGroup, motion } from 'framer-motion'; import Link from 'next/link'; import { useSearchParams } from 'next/navigation'; import { cn } from '../../utils'; -import { emailsDirectoryAbsolutePath } from '../../utils/emails-directory-absolute-path'; import type { EmailsDirectory } from '../../utils/get-emails-directory-metadata'; import { IconFile } from '../icons/icon-file'; import { FileTreeDirectory } from './file-tree-directory'; @@ -63,7 +62,7 @@ export const FileTreeDirectoryChildren = (props: { }; const isCurrentPage = props.currentEmailOpenSlug ? removeExtensionFrom(props.currentEmailOpenSlug) === - emailSlug + emailSlug : false; return (