Skip to content

Commit

Permalink
Merge pull request #926 from dappnode/pablo/fix-sent-data-link
Browse files Browse the repository at this point in the history
Fix link in dataSent feature
  • Loading branch information
pablomendezroyo authored Nov 23, 2021
2 parents 7dc9540 + ac30867 commit 7b9ad9a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { withToastNoThrow } from "components/toast/Toast";
import { confirm } from "components/ConfirmDialog";
import "./packageSentData.scss";
import { isLink } from "utils/isLink";
import { Link } from "react-router-dom";

export function RenderPackageSentData({
dnpName,
Expand Down Expand Up @@ -85,9 +84,9 @@ function SentDataRow({
return (
<InputGroup>
{isLink ? (
<Link className="form-control link-box" to={value}>
<a className="form-control link-box" href={value}>
{value}
</Link>
</a>
) : (
<input
className="form-control copiable-input"
Expand Down

0 comments on commit 7b9ad9a

Please sign in to comment.