mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-21 07:32:54 +00:00
Add storage event listener in usePortForwardingState to sync rules between main window and TrayPanel. When port forwarding rules are added, updated, or deleted in the main window, the TrayPanel now receives the update via localStorage storage event and re-renders accordingly. Also fix TypeScript type inference in normalizeRulesWithConnections by adding explicit return type annotations.