Fix emoji on Wrapstodon (#37177)

This commit is contained in:
Echo authored and GitHub committed 2025-12-09 10:36:08 +00:00
1 parent ea768c17db
commit 9702cbb41c
3 files changed
+16 -7

No files matched your search

+3 -1
View File
@@ -22,6 +22,8 @@ export function hydrateStore(rawState) {
dispatch(hydrateCompose());
dispatch(hydrateSearch());
dispatch(importFetchedAccounts(Object.values(rawState.accounts)));
if (rawState.accounts) {
dispatch(importFetchedAccounts(Object.values(rawState.accounts)));
}
};
}
+3 -1
View File
@@ -363,7 +363,9 @@ export const composeReducer = (state = initialState, action) => {
switch(action.type) {
case STORE_HYDRATE:
return hydrate(state, action.state.get('compose'));
if (action.state.get('compose'))
return hydrate(state, action.state.get('compose'));
return state;
case COMPOSE_MOUNT:
return state
.set('mounted', state.get('mounted') + 1)