mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 05:04:22 +00:00
InboundsPage and InboundFormModal both called useNodes() — each instance maintains its own state and fires its own /panel/api/nodes/list fetch on mount. Since the modal is always rendered (open or not), every page load hit the endpoint twice. Threaded nodes from the page through an availableNodes prop on the form modal so they share one fetch. |
||
|---|---|---|
| .. | ||
| api-docs | ||
| clients | ||
| inbounds | ||
| index | ||
| login | ||
| nodes | ||
| settings | ||
| sub | ||
| xray | ||