UI – remove TODO that is now TODONE (#25399)
## For [this follow-up](https://github.com/fleetdm/fleet/pull/25383/files#r1913801033) Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
co-authored by
Jacob Shandling
parent
ffb8098f5a
commit
588ccd967a
@@ -182,8 +182,6 @@ const DeviceUserPage = ({
|
||||
refetchOnReconnect: false,
|
||||
refetchOnWindowFocus: false,
|
||||
retry: false,
|
||||
// TODO: refactor to use non-refetch data directly in the component and remove
|
||||
// unnecesary derived states for values that aren't related to the refetch status
|
||||
onSuccess: ({ host: responseHost }) => {
|
||||
setShowRefetchSpinner(isRefetching(responseHost));
|
||||
if (isRefetching(responseHost)) {
|
||||
|
||||
Reference in New Issue
Block a user