diff --git a/web/src/components/card/ExportCard.tsx b/web/src/components/card/ExportCard.tsx index 045740a97..efbc61de2 100644 --- a/web/src/components/card/ExportCard.tsx +++ b/web/src/components/card/ExportCard.tsx @@ -2,7 +2,7 @@ import ActivityIndicator from "../indicators/activity-indicator"; import { LuTrash } from "react-icons/lu"; import { Button } from "../ui/button"; import { useCallback, useState } from "react"; -import { isDesktop } from "react-device-detect"; +import { isDesktop, isMobile } from "react-device-detect"; import { FaDownload, FaPlay, FaShareAlt } from "react-icons/fa"; import Chip from "../indicators/Chip"; import { Skeleton } from "../ui/skeleton"; @@ -82,7 +82,13 @@ export default function ExportCard({ } }} > - + { + if (isMobile) { + e.preventDefault(); + } + }} + > Rename Export Enter a new name for this export. @@ -90,7 +96,7 @@ export default function ExportCard({ {editName && ( <> Name