mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-11 21:29:26 +02:00
small fix for zap modal
This commit is contained in:
parent
b264de2686
commit
e40c2e160d
@ -1,5 +1,5 @@
|
||||
import { useMount } from "react-use";
|
||||
import { Alert, Box, Button, ButtonGroup, Flex, IconButton, Spacer, useDisclosure, useToast } from "@chakra-ui/react";
|
||||
import { Alert, Button, ButtonGroup, Flex, IconButton, Spacer, useDisclosure, useToast } from "@chakra-ui/react";
|
||||
|
||||
import { PayRequest } from ".";
|
||||
import UserAvatar from "../user-avatar";
|
||||
@ -13,9 +13,7 @@ function UserCard({ children, pubkey }: PropsWithChildren & { pubkey: string })
|
||||
return (
|
||||
<Flex gap="2" alignItems="center" overflow="hidden">
|
||||
<UserAvatar pubkey={pubkey} size="md" />
|
||||
<Box>
|
||||
<UserLink pubkey={pubkey} fontWeight="bold" />
|
||||
</Box>
|
||||
<UserLink pubkey={pubkey} fontWeight="bold" isTruncated />
|
||||
<Spacer />
|
||||
{children}
|
||||
</Flex>
|
||||
|
Loading…
x
Reference in New Issue
Block a user