π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
This was a no-op for disabled buttons
Manav Rathi15f427ef37f8
diff --git a/web/packages/new/photos/components/gallery/index.tsx b/web/packages/new/photos/components/gallery/index.tsxindex ee8aad7040..6f65587431 100644--- a/web/packages/new/photos/components/gallery/index.tsx+++ b/web/packages/new/photos/components/gallery/index.tsx@@ -99,9 +99,6 @@ export function GalleryEmptyState({ openUploader, shouldAllowNewUpload }) {/><VerticallyCentered paddingTop={1.5} paddingBottom={1.5}><Button- // eslint-disable-next-line @typescript-eslint/ban-ts-comment- // @ts-ignore- style={{ cursor: !shouldAllowNewUpload && "not-allowed" }}color="accent"// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-callonClick={() => openUploader("upload")}@@ -114,9 +111,6 @@ export function GalleryEmptyState({ openUploader, shouldAllowNewUpload }) {</FlexWrapper></Button><Button- // eslint-disable-next-line @typescript-eslint/ban-ts-comment- // @ts-ignore- style={{ cursor: !shouldAllowNewUpload && "not-allowed" }}// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-callonClick={() => openUploader("import")}disabled={!shouldAllowNewUpload}