system-react module entrypoint, reaction loading memos
This commit is contained in:
@ -10,12 +10,12 @@ import Avatar from "@/Components/User/Avatar";
|
||||
import { ProfileLink } from "@/Components/User/ProfileLink";
|
||||
import useEventPublisher from "@/Hooks/useEventPublisher";
|
||||
import { HasNotificationsMarker } from "@/Pages/Layout/HasNotificationsMarker";
|
||||
import { WalletBalance } from "@/Pages/Layout/WalletBalance";
|
||||
import { subscribeToNotifications } from "@/Utils/Notifications";
|
||||
import { getCurrentSubscription } from "@/Utils/Subscription";
|
||||
|
||||
import useLogin from "../../Hooks/useLogin";
|
||||
import { LogoHeader } from "./LogoHeader";
|
||||
import { WalletBalance } from "@/Pages/Layout/WalletBalance";
|
||||
|
||||
const MENU_ITEMS = [
|
||||
{
|
||||
|
@ -1,10 +1,11 @@
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { Sats, useWallet } from "@/Wallet";
|
||||
import { useRates } from "@/Hooks/useRates";
|
||||
import { FormattedMessage, FormattedNumber } from "react-intl";
|
||||
import Icon from "@/Components/Icons/Icon";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
import Icon from "@/Components/Icons/Icon";
|
||||
import { useRates } from "@/Hooks/useRates";
|
||||
import { Sats, useWallet } from "@/Wallet";
|
||||
|
||||
export const WalletBalance = () => {
|
||||
const [balance, setBalance] = useState<Sats | null>(null);
|
||||
const wallet = useWallet();
|
||||
|
Reference in New Issue
Block a user