[Glitch] Update compose_panel.tsx to pass focusTarget to
Port 0c143e4aa8 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
06d010b5bb
commit
df6575f03c
1 file changed
+1
-1
@@ -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