fix(app): reorder dm list immediately on pin and unpin (#3230)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-05 20:45:50 +02:00
1 parent 2006fc0d8d
commit f4e545e090
1 file changed
+1 -1
@@ -237,7 +237,7 @@ export const DMList = observer(() => {
},
[requestPurgePersonalNotes],
);
const filteredDmChannels = useMemo(() => getSortedDmChannels(dmChannels, currentUserId), [dmChannels, currentUserId]);
const filteredDmChannels = getSortedDmChannels(dmChannels, currentUserId);
const dmListNavigationRef = useRovingFocusList<HTMLDivElement>({
focusableSelector: '[data-dm-list-focus-item="true"]',
orientation: 'vertical',