Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove(trash):removed-ago

Aswin Asok5445e3ab376e
diff --git a/web/apps/locker/src/components/items/ItemCard.tsx b/web/apps/locker/src/components/items/ItemCard.tsx
index 07dc589278..6076cee678 100644
--- a/web/apps/locker/src/components/items/ItemCard.tsx
+++ b/web/apps/locker/src/components/items/ItemCard.tsx
@@ -26,7 +26,6 @@ import {
Stack,
Typography,
} from "@mui/material";
-import { formatTimeAgo } from "ente-base/date";
import log from "ente-base/log";
import { t } from "i18next";
import React, { useCallback, useState } from "react";
@@ -34,7 +33,6 @@ import {
lockerColors,
lockerColorSx,
lockerTextBodySx,
- lockerTextMiniSx,
} from "../../styles/tokens";
interface ItemCardProps {
@@ -268,20 +266,6 @@ export const ItemCard: React.FC<ItemCardProps> = React.memo(function ItemCard({
<Typography variant="body" sx={lockerTextBodySx} noWrap>
{title}
</Typography>
- {isTrashView && item.updatedAt !== undefined && (
- <Typography
- sx={(theme) => ({
- ...lockerTextMiniSx,
- ...lockerColorSx(theme, { color: "textLight" }),
- mt: 0.5,
- })}
- noWrap
- >
- {t("deletedTimeAgo", {
- time: formatTimeAgo(item.updatedAt),
- })}
- </Typography>
- )}
</Box>
{selectionMode ? null : isTrashView ? (