Add default post text to onboarding flow in web UI (#24705)
This commit is contained in:
1 parent
1c61869eed
commit
8979b70975
5 files changed
+16
-6
No files matched your search
@@ -126,9 +126,10 @@ export function resetCompose() {
|
||||
};
|
||||
}
|
||||
|
||||
export const focusCompose = routerHistory => dispatch => {
|
||||
export const focusCompose = (routerHistory, defaultText) => dispatch => {
|
||||
dispatch({
|
||||
type: COMPOSE_FOCUS,
|
||||
defaultText,
|
||||
});
|
||||
|
||||
ensureComposeIsVisible(routerHistory);
|
||||
|
||||
Reference in new issue
Block a user