Skip to content

Commit

Permalink
fix: external link issue (#1812)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruwang committed Dec 21, 2023
1 parent f9861cf commit 12d9954
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ export default function FileUploadSummary({ questionSummary, environmentId }: Fi
(response.value.length > 0 ? (
response.value.map((fileUrl, index) => (
<div className="relative m-2 rounded-lg bg-slate-200" key={fileUrl}>
<a href={fileUrl as string} key={index} download target="_blank">
<a
href={fileUrl as string}
key={index}
download
target="_blank"
rel="noopener noreferrer">
<div className="absolute right-0 top-0 m-2">
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-slate-50 hover:bg-white">
<DownloadIcon className="h-6 text-slate-500" />
Expand Down

2 comments on commit 12d9954

@vercel
Copy link

@vercel vercel bot commented on 12d9954 Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 12d9954 Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

formbricks-com – ./apps/formbricks-com

formbricks-com-formbricks.vercel.app
formbricks.com
formbricks-com.vercel.app
formbricks-com-git-main-formbricks.vercel.app
www.formbricks.com

Please sign in to comment.