Convert Settings class to TS (#37218)

This commit is contained in:
diondiondion authored and GitHub committed 2025-12-12 10:20:32 +00:00
1 parent e206b0d0de
commit 8748f0812d
4 files changed
+68 -54

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ export const hydrateSearch = createAppAsyncThunk(
'search/hydrate',
(_args, { dispatch, getState }) => {
const me = getState().meta.get('me') as string;
const history = searchHistory.get(me) as RecentSearch[] | null;
const history = searchHistory.get(me);
if (history !== null) {
dispatch(updateSearchHistory(history));