diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx
index 10dfd5c..1f80137 100644
--- a/src/app/(dashboard)/page.tsx
+++ b/src/app/(dashboard)/page.tsx
@@ -441,7 +441,7 @@ const ProjectContainer = ({
{project.title}
{project.description &&
{project.description}
}
- {project.editDate &&
Last Edit Date: {date.toLocaleDateString()}, {date.toLocaleTimeString([], { timeStyle: "short" })}
}
+ {project.editDate &&
}
diff --git a/src/components/swipe-to-delete/SwipeToDelete.tsx b/src/components/swipe-to-delete/SwipeToDelete.tsx
index c7d63ef..7a11820 100644
--- a/src/components/swipe-to-delete/SwipeToDelete.tsx
+++ b/src/components/swipe-to-delete/SwipeToDelete.tsx
@@ -141,10 +141,10 @@ const SwipeToDelete: FC = ({
text.current?.classList.add('ios-ease');
const textWidth = text.current ? text.current.getBoundingClientRect().width : 0;
if (((velocity < 0 && Math.abs(velocity) > 10) || dragX < -textWidth * 1.5 && velocity > 0) && text.current) {
- if (velocity < -10) {
- setDragX(-textWidth * 1.5);
- } else {
+ if (velocity > window.innerWidth * 0.15) {
setDragX(0);
+ } else {
+ setDragX(-textWidth * 1.5);
}
} else if (allowOverscroll && dragX > 0 && velocity > 0) {
setDragX(0);