From dd3f0699b50308d8a1a0e396c0dea19fccea7d91 Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Sun, 31 May 2026 19:13:57 -0700 Subject: [PATCH] upload: fix upload button --- js/app/src/router.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/js/app/src/router.tsx b/js/app/src/router.tsx index 5e65bcb1e..27268ca04 100644 --- a/js/app/src/router.tsx +++ b/js/app/src/router.tsx @@ -266,6 +266,7 @@ export const UploadButton = () => { const { theme } = useTheme(); const windowWidth = useWindowDimensions().width; const isCompact = windowWidth <= 800; + const navigation = useNavigation(); if (!did) return null; @@ -285,9 +286,17 @@ export const UploadButton = () => { to={{ screen: "HomeTab", params: { screen: "Upload" } }} style={{ marginRight: 10 }} > - ); -- 2.51.2