Thin compatibility wrapper around the RTK Query config endpoints.
The previous hook owned its own loading/error state and a manual fetch
function; the wrapper preserves that surface so existing consumers
(SettingsPanel) port across without changes. Under the hood the GET is a
cached query and the PUT is a mutation that invalidates the cache, so a
successful save is followed by an automatic refetch.
Thin compatibility wrapper around the RTK Query config endpoints.
The previous hook owned its own loading/error state and a manual fetch function; the wrapper preserves that surface so existing consumers (SettingsPanel) port across without changes. Under the hood the GET is a cached query and the PUT is a mutation that invalidates the cache, so a successful save is followed by an automatic refetch.