mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 13:21:44 +01:00
add warning to wallet
This commit is contained in:
parent
dfb7a6e771
commit
ceddaf1e9d
@ -1,5 +1,17 @@
|
||||
import { useState } from "react";
|
||||
import { Button, Tab, TabList, TabPanel, TabPanels, Tabs, useToast } from "@chakra-ui/react";
|
||||
import {
|
||||
Alert,
|
||||
AlertDescription,
|
||||
AlertIcon,
|
||||
AlertTitle,
|
||||
Button,
|
||||
Tab,
|
||||
TabList,
|
||||
TabPanel,
|
||||
TabPanels,
|
||||
Tabs,
|
||||
useToast,
|
||||
} from "@chakra-ui/react";
|
||||
import { kinds } from "nostr-tools";
|
||||
import { WalletBalanceQuery } from "applesauce-wallet/queries";
|
||||
import { CreateWallet } from "applesauce-wallet/actions";
|
||||
@ -56,6 +68,12 @@ export default function WalletHomeView() {
|
||||
title="Wallet"
|
||||
actions={wallet?.locked && <WalletUnlockButton colorScheme="primary" ms="auto" size="sm" />}
|
||||
>
|
||||
<Alert status="error" mb="4">
|
||||
<AlertIcon />
|
||||
<AlertTitle>Work in progress!</AlertTitle>
|
||||
<AlertDescription>Do not put money into this wallet. it has bugs that will loose your money</AlertDescription>
|
||||
</Alert>
|
||||
|
||||
{wallet ? (
|
||||
<WalletBalanceCard pubkey={account.pubkey} w="full" maxW="2xl" mx="auto" />
|
||||
) : (
|
||||
|
Loading…
x
Reference in New Issue
Block a user