mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-02 08:58:36 +02:00
fix small issues with buttons
This commit is contained in:
parent
b372edab27
commit
684b0e458a
@ -5,13 +5,10 @@ import {
|
||||
AccordionIcon,
|
||||
AccordionItem,
|
||||
AccordionPanel,
|
||||
Box,
|
||||
Button,
|
||||
Card,
|
||||
CardBody,
|
||||
CardHeader,
|
||||
Flex,
|
||||
Heading,
|
||||
Modal,
|
||||
ModalBody,
|
||||
ModalCloseButton,
|
||||
@ -28,7 +25,7 @@ import {
|
||||
import dayjs from "dayjs";
|
||||
import codes from "iso-language-codes";
|
||||
|
||||
import { DraftNostrEvent, NostrEvent, isETag, isPTag } from "../../types/nostr-event";
|
||||
import { DraftNostrEvent, NostrEvent } from "../../types/nostr-event";
|
||||
import useTimelineLoader from "../../hooks/use-timeline-loader";
|
||||
import { getEventUID } from "../../helpers/nostr/events";
|
||||
import { useReadRelayUrls } from "../../hooks/use-client-relays";
|
||||
@ -137,6 +134,7 @@ function TranslationOffer({ offer }: { offer: NostrEvent }) {
|
||||
<Button
|
||||
colorScheme="yellow"
|
||||
size="sm"
|
||||
variant="solid"
|
||||
leftIcon={<LightningIcon />}
|
||||
onClick={payInvoice}
|
||||
isLoading={paying || paid}
|
||||
@ -229,7 +227,7 @@ export default function NoteTranslationModal({
|
||||
</option>
|
||||
))}
|
||||
</Select>
|
||||
<Button colorScheme="primary" onClick={requestTranslation} flexShrink={0}>
|
||||
<Button size="md" variant="solid" colorScheme="primary" onClick={requestTranslation} flexShrink={0}>
|
||||
Request new translation
|
||||
</Button>
|
||||
</Flex>
|
||||
|
Loading…
x
Reference in New Issue
Block a user