Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove-srcSet-images

Aswin Asoka7ff1f4c5161
diff --git a/web/apps/locker/public/images/empty_state.png b/web/apps/locker/public/images/empty_state.png
index fbd0d32c5b..eae2656859 100644
Binary files a/web/apps/locker/public/images/empty_state.png and b/web/apps/locker/public/images/empty_state.png differ
diff --git a/web/apps/locker/public/images/[email protected] b/web/apps/locker/public/images/[email protected]
deleted file mode 100644
index 3d023dc649..0000000000
Binary files a/web/apps/locker/public/images/[email protected] and /dev/null differ
diff --git a/web/apps/locker/public/images/[email protected] b/web/apps/locker/public/images/[email protected]
deleted file mode 100644
index eae2656859..0000000000
Binary files a/web/apps/locker/public/images/[email protected] and /dev/null differ
diff --git a/web/apps/locker/src/components/ItemList.tsx b/web/apps/locker/src/components/ItemList.tsx
index 98148b6419..6432f46e2a 100644
--- a/web/apps/locker/src/components/ItemList.tsx
+++ b/web/apps/locker/src/components/ItemList.tsx
@@ -1246,7 +1246,6 @@ export const ItemList: React.FC<ItemListProps> = ({
<EmptyState
image={{
src: "/images/empty_state.png",
- srcSet: "/images/[email protected] 2x, /images/[email protected] 3x",
}}
title={t("yourTrashIsEmpty")}
/>
@@ -2068,13 +2067,12 @@ const CollectionFilterChip: React.FC<{
const EmptyState: React.FC<{
title: string;
subtitle?: string;
- image?: { src: string; srcSet?: string; alt?: string };
+ image?: { src: string; alt?: string };
}> = ({ title, subtitle, image }) => (
<Box sx={{ textAlign: "center", py: 8 }}>
{image && (
<img
src={image.src}
- srcSet={image.srcSet}
alt={image.alt ?? ""}
style={{
height: 112,