update: add warn msg to adding new account

This commit is contained in:
MTG2000
2022-08-21 14:32:09 +03:00
parent df05693a9c
commit 6dd34dd253
2 changed files with 11 additions and 4 deletions

View File

@@ -81,6 +81,7 @@ export default function LinkedAccountsCard({ value, onChange }: Props) {
<Button color='none' size='sm' className='mt-16 text-gray-600 hover:bg-gray-50' onClick={connectNewWallet}>
+ Add another wallet
</Button>}
<p className="text-body5 text-gray-400 mt-24"><span className="font-bold">Note</span>: if you link a wallet that was used to create another account previously, you won't be able to login to that account until you remove it from here.</p>
</Card>
)
}

View File

@@ -19,8 +19,14 @@ export const user: User & MyProfile = {
stories: posts.stories,
nostr_prv_key: "123123124asdfsadfsa8d7fsadfasdf",
nostr_pub_key: "123124123123dfsadfsa8d7f11sadfasdf",
walletsKeys: [{
key: "1645h234j2421zxvertw",
name: "My alby wallet key"
}]
walletsKeys: [
{
key: "1645h234j2421zxvertw",
name: "My Alby wallet key"
},
{
key: "6643534534534534543",
name: "My Phoenix wallet key"
},
]
}