feat: add nwc alby link on connect page
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e0251ab389
commit
823bf431a5
@ -5,7 +5,7 @@ import { v4 as uuid } from "uuid";
|
|||||||
import AsyncButton from "Element/AsyncButton";
|
import AsyncButton from "Element/AsyncButton";
|
||||||
import { unwrap } from "Util";
|
import { unwrap } from "Util";
|
||||||
import { WalletConfig, WalletKind, Wallets } from "Wallet";
|
import { WalletConfig, WalletKind, Wallets } from "Wallet";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { Link, useNavigate } from "react-router-dom";
|
||||||
import { NostrConnectWallet } from "Wallet/NostrWalletConnect";
|
import { NostrConnectWallet } from "Wallet/NostrWalletConnect";
|
||||||
|
|
||||||
const ConnectNostrWallet = () => {
|
const ConnectNostrWallet = () => {
|
||||||
@ -63,6 +63,18 @@ const ConnectNostrWallet = () => {
|
|||||||
</AsyncButton>
|
</AsyncButton>
|
||||||
</div>
|
</div>
|
||||||
{error && <b className="error p10">{error}</b>}
|
{error && <b className="error p10">{error}</b>}
|
||||||
|
<p>
|
||||||
|
<FormattedMessage
|
||||||
|
defaultMessage="Using Alby? Go to {link} to get your NWC config!"
|
||||||
|
values={{
|
||||||
|
link: (
|
||||||
|
<Link to="https://nwc.getalby.com/" target="_blank">
|
||||||
|
nwc.getalby.com
|
||||||
|
</Link>
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -794,6 +794,9 @@
|
|||||||
"cE4Hfw": {
|
"cE4Hfw": {
|
||||||
"defaultMessage": "Discover"
|
"defaultMessage": "Discover"
|
||||||
},
|
},
|
||||||
|
"cFbU1B": {
|
||||||
|
"defaultMessage": "Using Alby? Go to {link} to get your NWC config!"
|
||||||
|
},
|
||||||
"cPIKU2": {
|
"cPIKU2": {
|
||||||
"defaultMessage": "Following"
|
"defaultMessage": "Following"
|
||||||
},
|
},
|
||||||
|
@ -259,6 +259,7 @@
|
|||||||
"c35bj2": "If you have an enquiry about your NIP-05 order please DM {link}",
|
"c35bj2": "If you have an enquiry about your NIP-05 order please DM {link}",
|
||||||
"c3g2hL": "Broadcast Again",
|
"c3g2hL": "Broadcast Again",
|
||||||
"cE4Hfw": "Discover",
|
"cE4Hfw": "Discover",
|
||||||
|
"cFbU1B": "Using Alby? Go to {link} to get your NWC config!",
|
||||||
"cPIKU2": "Following",
|
"cPIKU2": "Following",
|
||||||
"cQfLWb": "URL..",
|
"cQfLWb": "URL..",
|
||||||
"cWx9t8": "Mute all",
|
"cWx9t8": "Mute all",
|
||||||
|
Loading…
Reference in New Issue
Block a user