mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-11 06:15:43 -05:00
Update compose_panel.tsx to pass focusTarget to (#39843)
This commit is contained in:
@@ -71,7 +71,7 @@ export const RedirectToMobileComposeIfNeeded: React.FC = () => {
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (shouldRedirect) {
|
||||
history.push('/publish');
|
||||
history.push('/publish', { focusTarget: false });
|
||||
}
|
||||
}, [history, shouldRedirect]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user