Convert Settings class to TS (#37218)
This commit is contained in:
1 parent
e206b0d0de
commit
8748f0812d
4 files changed
+68
-54
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user