fix(desktop): refresh channel state after unarchive (#923)

Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Wes
2026-06-09 09:49:27 -07:00
committed by GitHub
parent 7dd5b34536
commit 56230c1442

View File

@@ -319,6 +319,9 @@ export function useUnarchiveChannelMutation(channelId: string | null) {
setChannelArchivedState(queryClient, channelId, null);
},
onSettled: async () => {
await invalidateChannelState(queryClient, channelId);
},
});
}