[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:
Shlee authored and Claire committed 2026-07-16 18:15:18 +02:00
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]);