Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Rely on the button's behavior

Manav Rathi6a76583e1ba3
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index f1feef4b8d..2a027888cf 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -1308,7 +1308,7 @@ export const UploadButton: React.FC<UploadButtonProps> = ({ onClick }) => {
const isMobileWidth = useIsMobileWidth();
return (
- <Box sx={{ cursor: disabled ? "not-allowed" : "pointer" }}>
+ <Box>
{isMobileWidth ? (
<IconButton onClick={onClick} disabled={disabled}>
{<FileUploadOutlinedIcon />}