The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(settings): remove unused CanvasToolbar import
Steven Enamakel6080011bfe54
diff --git a/app/src/components/flows/canvas/__tests__/CanvasToolbar.test.tsx b/app/src/components/flows/canvas/__tests__/CanvasToolbar.test.tsxindex 005ae778bc..ec7582de75 100644--- a/app/src/components/flows/canvas/__tests__/CanvasToolbar.test.tsx+++ b/app/src/components/flows/canvas/__tests__/CanvasToolbar.test.tsx@@ -33,13 +33,15 @@ describe('CanvasToolbar', () => {it('calls zoomIn, zoomOut, and fitView with the shared fit options', () => {render(<CanvasToolbar />);- fireEvent.click(screen.getByLabelText('flows.canvas.zoomOut'));+ // No `I18nProvider` mounted, so `useT()` falls back to the bundled+ // English strings (same fallback `EditableFlowCanvas.test.tsx` relies on).+ fireEvent.click(screen.getByLabelText('Zoom out'));expect(zoomOut).toHaveBeenCalledTimes(1);- fireEvent.click(screen.getByLabelText('flows.canvas.zoomIn'));+ fireEvent.click(screen.getByLabelText('Zoom in'));expect(zoomIn).toHaveBeenCalledTimes(1);- fireEvent.click(screen.getByLabelText('flows.canvas.fitView'));+ fireEvent.click(screen.getByLabelText('Fit to screen'));expect(fitView).toHaveBeenCalledWith(FLOW_FIT_VIEW_OPTIONS);});diff --git a/app/src/components/settings/panels/wallet/SelectNetworkModal.tsx b/app/src/components/settings/panels/wallet/SelectNetworkModal.tsxindex 9f433b01ff..267a730f06 100644--- a/app/src/components/settings/panels/wallet/SelectNetworkModal.tsx+++ b/app/src/components/settings/panels/wallet/SelectNetworkModal.tsx@@ -32,12 +32,12 @@ export default function SelectNetworkModal({<div className="flex items-center justify-between border-b border-line-subtle px-4 py-4"><div className="w-8" /><DialogPrimitive.Title className="text-sm font-semibold text-content m-0 p-0">- Select network+ {t('wallet.selectNetwork.title', 'Select network')}</DialogPrimitive.Title><buttononClick={onClose}className="flex h-8 w-8 items-center justify-center rounded-full text-content-muted hover:bg-surface-hover hover:text-content transition-colors"- aria-label="Close">+ aria-label={t('common.close', 'Close')}><svgclassName="h-5 w-5"fill="none"