diff --git a/apps/desktop/src/screens/tabs/Prices.tsx b/apps/desktop/src/screens/tabs/Prices.tsx index 3bb5b56..431e6a8 100644 --- a/apps/desktop/src/screens/tabs/Prices.tsx +++ b/apps/desktop/src/screens/tabs/Prices.tsx @@ -1,7 +1,7 @@ // Prices: what every product costs in every territory on both stores (`prices export --json`, read-only), the price // sheet as a CSV (save it anywhere, or write store/prices.csv for the terminal), and a price sheet compared with the // stores (`prices import --dry --json`) and applied as an owner action: dry run, native dialog, then the real run. -import { useContextMenu } from '../../ui/ContextMenu'; +import { useContextMenu, useMenuButton } from '../../ui/ContextMenu'; import { copyToast } from '../../ui/app-menu'; import '../../styles/prices.css'; import { useEffect, useMemo, useState } from 'react'; @@ -92,6 +92,7 @@ export function PricesTab({ project }: { project: Project }) { const e = d.statusOf(project); const s = e?.summary ?? null; const w = useWrite(project.id); + const more = useMenuButton(); const runExport = useRunExport(); const cm = useContextMenu(); const [withAuto, setWithAuto] = useState(true); @@ -129,20 +130,15 @@ export function PricesTab({ project }: { project: Project }) { return (