mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-13 08:06:06 +00:00
1508666e52
The DNS server table columns were memoized with only [t] as deps, so they permanently captured the first render's openEditServer callback, which closed over the initial (null) dns settings. Clicking Edit then resolved the server to null and the modal fell back to default values. Stabilize openEditServer/deleteServer (and the fakedns equivalents) with useCallback and include them in the column memo deps so the columns refresh whenever the servers list changes.