chore: cleanup

This commit is contained in:
2023-03-03 20:34:18 +00:00
parent 50be9d7b65
commit 9b2116bd3a
7 changed files with 460 additions and 593 deletions

View File

@ -1,3 +1,5 @@
import { FormattedMessage } from "react-intl";
import { Magnet } from "Util";
interface MagnetLinkProps {
@ -7,7 +9,9 @@ interface MagnetLinkProps {
const MagnetLink = ({ magnet }: MagnetLinkProps) => {
return (
<div className="note-invoice">
<h4>Magnet Link</h4>
<h4>
<FormattedMessage defaultMessage="Magnet Link" />
</h4>
<a href={magnet.raw} rel="noreferrer">
{magnet.dn ?? magnet.infoHash}
</a>