From c634cd9071305239f8c7d6acf371aca397f2bf2b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 23 Jun 2025 17:44:40 +0300 Subject: Upgrade prettier to 3.6 (#8558) * upgrade prettier * run prettier * more files --- src/components/ContextMenu/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/ContextMenu/index.tsx') diff --git a/src/components/ContextMenu/index.tsx b/src/components/ContextMenu/index.tsx index 4a0814dfe..dd7be13d0 100644 --- a/src/components/ContextMenu/index.tsx +++ b/src/components/ContextMenu/index.tsx @@ -190,7 +190,7 @@ export function Root({children}: {children: React.ReactNode}) { if (item) playHaptic('Light') setHoveredMenuItem(item) }, - } satisfies ContextType), + }) satisfies ContextType, [ measurement, setMeasurement, @@ -710,8 +710,8 @@ export function Item({ const xOffset = position ? position.x : align === 'left' - ? measurement.x - : measurement.x + measurement.width - layout.width + ? measurement.x + : measurement.x + measurement.width - layout.width registerHoverable( id, -- cgit 1.4.1