Skip to content

Commit 9a156b0

Browse files
Update src/components/viewmodels/roomlist/useFilteredRooms.tsx
Co-authored-by: Florian Duros <[email protected]>
1 parent 7326e0f commit 9a156b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/viewmodels/roomlist/useFilteredRooms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function useFilteredRooms(): FilteredRooms {
148148
setActiveSecondaryFilter(filter);
149149

150150
// Reset any active primary filters.
151-
setPrimaryFilter(undefined);
151+
setPrimaryFilter();
152152

153153
updateRoomsFromStore(filterUndefined([secondary]));
154154
},

0 commit comments

Comments
 (0)