diff --git a/app/pages/projects/[projectId].tsx b/app/pages/projects/[projectId].tsx index f62be98..588747a 100644 --- a/app/pages/projects/[projectId].tsx +++ b/app/pages/projects/[projectId].tsx @@ -9,6 +9,7 @@ import { useMutation, Routes, usePaginatedQuery, + invoke, } from "blitz" import Layout from "app/core/layouts/Layout" import getProject from "app/projects/queries/getProject" @@ -32,8 +33,15 @@ import { Text, } from "@chakra-ui/react" import { HiViewGridAdd, HiOutlineClipboardCopy } from "react-icons/hi" -import { ChevronLeftIcon, ChevronRightIcon, DeleteIcon, EditIcon } from "@chakra-ui/icons" +import { + ChevronLeftIcon, + ChevronRightIcon, + DeleteIcon, + EditIcon, + DownloadIcon, +} from "@chakra-ui/icons" import { CopyToClipboard } from "react-copy-to-clipboard" +import { saveAs } from "file-saver" const BreadCrumb = ({ project }) => { return ( @@ -148,6 +156,27 @@ export const Project = () => { EDIT + +