Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#81102)

hermes-seaeye[bot]48e2dcd7a011
diff --git a/apps/desktop/src/app/right-sidebar/review/file-tree.tsx b/apps/desktop/src/app/right-sidebar/review/file-tree.tsx
index ebb01c4bdda..745839c523f 100644
--- a/apps/desktop/src/app/right-sidebar/review/file-tree.tsx
+++ b/apps/desktop/src/app/right-sidebar/review/file-tree.tsx
@@ -1,15 +1,7 @@
import { useStore } from '@nanostores/react'
import { useVirtualizer } from '@tanstack/react-virtual'
import { AnimatePresence, motion } from 'motion/react'
-import {
- type CSSProperties,
- type ReactNode,
- type RefObject,
- useEffect,
- useMemo,
- useRef,
- useState
-} from 'react'
+import { type CSSProperties, type ReactNode, type RefObject, useEffect, useMemo, useRef, useState } from 'react'
import { Button } from '@/components/ui/button'
import { Codicon } from '@/components/ui/codicon'
@@ -305,9 +297,7 @@ function ReviewDirRow({
</span>
{!open && <DiffCount added={node.added} className="text-[0.64rem] leading-4" removed={node.removed} />}
</div>
- {!leaf && open && node.children && (
- <ReviewNodeList animate={animate} depth={depth + 1} nodes={node.children} />
- )}
+ {!leaf && open && node.children && <ReviewNodeList animate={animate} depth={depth + 1} nodes={node.children} />}
</>
)
}