Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

update

Ashish Viradiya9b4c6ceaf665
diff --git a/components/view/dataroom/nav-dataroom.tsx b/components/view/dataroom/nav-dataroom.tsx
index b728f297..a56ecf2e 100644
--- a/components/view/dataroom/nav-dataroom.tsx
+++ b/components/view/dataroom/nav-dataroom.tsx
@@ -1,5 +1,7 @@
import Link from "next/link";
+
+
import React, { useEffect, useState } from "react";
import { DataroomBrand } from "@prisma/client";
@@ -9,6 +11,7 @@ import { toast } from "sonner";
import { timeAgo } from "@/lib/utils";
import {
+ ButtonTooltip,
Tooltip,
TooltipContent,
TooltipTrigger,
@@ -184,15 +187,16 @@ export default function DataroomNav({
/>
)}
{allowDownload ? (
- <Button
- onClick={downloadDataroom}
- className="m-1 bg-gray-900 text-white hover:bg-gray-900/80"
- size="icon"
- title="Download Dataroom"
- loading={loading}
- >
- <Download className="h-5 w-5" />
- </Button>
+ <ButtonTooltip content="Download Dataroom">
+ <Button
+ onClick={downloadDataroom}
+ className="m-1 bg-gray-900 text-white hover:bg-gray-900/80"
+ size="icon"
+ loading={loading}
+ >
+ <Download className="h-5 w-5" />
+ </Button>
+ </ButtonTooltip>
) : null}
</div>
</div>