From 588ccd967a44c33ee7fc516b5ff86ccc2ef513e7 Mon Sep 17 00:00:00 2001 From: jacobshandling <61553566+jacobshandling@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:27:20 -0800 Subject: [PATCH] =?UTF-8?q?UI=20=E2=80=93=20remove=20TODO=20that=20is=20no?= =?UTF-8?q?w=20TODONE=20(#25399)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## For [this follow-up](https://github.com/fleetdm/fleet/pull/25383/files#r1913801033) Co-authored-by: Jacob Shandling --- frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx index 155840e950..114677c05d 100644 --- a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx +++ b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx @@ -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)) {