rename SendSats -> ZapModal
This commit is contained in:
@ -22,7 +22,6 @@ import Icon from "@/Components/Icons/Icon";
|
||||
import Modal from "@/Components/Modal/Modal";
|
||||
import { ProxyImg } from "@/Components/ProxyImg";
|
||||
import QrCode from "@/Components/QrCode";
|
||||
import SendSats from "@/Components/SendSats/SendSats";
|
||||
import { SpotlightMediaModal } from "@/Components/Spotlight/SpotlightMedia";
|
||||
import { Tab, TabElement } from "@/Components/Tabs/Tabs";
|
||||
import Text from "@/Components/Text/Text";
|
||||
@ -38,6 +37,7 @@ import MutedList from "@/Components/User/MutedList";
|
||||
import Nip05 from "@/Components/User/Nip05";
|
||||
import ProfileImage from "@/Components/User/ProfileImage";
|
||||
import { UserWebsiteLink } from "@/Components/User/UserWebsiteLink";
|
||||
import ZapModal from "@/Components/ZapModal/ZapModal";
|
||||
import useProfileBadges from "@/Feed/BadgesFeed";
|
||||
import useFollowsFeed from "@/Feed/FollowsFeed";
|
||||
import { useStatusFeed } from "@/Feed/StatusFeed";
|
||||
@ -181,7 +181,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<SendSats
|
||||
<ZapModal
|
||||
targets={
|
||||
lnurl?.lnurl && id
|
||||
? [
|
||||
|
@ -3,7 +3,7 @@ import { useState } from "react";
|
||||
import { FormattedMessage, useIntl } from "react-intl";
|
||||
|
||||
import AsyncButton from "@/Components/Button/AsyncButton";
|
||||
import SendSats from "@/Components/SendSats/SendSats";
|
||||
import ZapModal from "@/Components/ZapModal/ZapModal";
|
||||
import SnortApi, { Subscription, SubscriptionError } from "@/External/SnortApi";
|
||||
import useEventPublisher from "@/Hooks/useEventPublisher";
|
||||
import useLogin from "@/Hooks/useLogin";
|
||||
@ -72,7 +72,7 @@ export function RenewSub({ sub: s }: { sub?: Subscription }) {
|
||||
</AsyncButton>
|
||||
</div>
|
||||
</div>
|
||||
<SendSats
|
||||
<ZapModal
|
||||
invoice={invoice}
|
||||
show={invoice !== ""}
|
||||
onClose={() => setInvoice("")}
|
||||
|
@ -6,7 +6,7 @@ import { FormattedMessage } from "react-intl";
|
||||
import { RouteObject } from "react-router-dom";
|
||||
|
||||
import AsyncButton from "@/Components/Button/AsyncButton";
|
||||
import SendSats from "@/Components/SendSats/SendSats";
|
||||
import ZapModal from "@/Components/ZapModal/ZapModal";
|
||||
import SnortApi, { SubscriptionError } from "@/External/SnortApi";
|
||||
import useEventPublisher from "@/Hooks/useEventPublisher";
|
||||
import ManageSubscriptionPage from "@/Pages/subscribe/ManageSubscription";
|
||||
@ -86,7 +86,7 @@ export function SubscribePage() {
|
||||
})}
|
||||
</div>
|
||||
{error && <b className="error">{mapSubscriptionErrorCode(error)}</b>}
|
||||
<SendSats invoice={invoice} show={invoice !== ""} onClose={() => setInvoice("")} />
|
||||
<ZapModal invoice={invoice} show={invoice !== ""} onClose={() => setInvoice("")} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user