Added Dexie for IndexedDB persistence. The database stores API errors and trades with proper indexing for queries. This enables tracking historical data across browser sessions.

Implemented React Router to add navigation between views. The app now has separate routes for ships, trades, markets, and errors. The App component was restructured to handle routing and the main layout.

Created a Trades component that displays all recorded trades in a table - showing good type, quantity, price, profit, ship, and location. Trades are recorded whenever the ship machine completes a buy or sell operation.

Also added a markets table placeholder and increased the buy/sell quantity limit to 1000 for faster trading. Error handling was improved with API errors now being persisted to the database for later review.