mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-10-08 20:09:17 +02:00
small fix
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import { SettingsIcon } from "@chakra-ui/icons";
|
|
||||||
import { Flex, IconButton } from "@chakra-ui/react";
|
import { Flex, IconButton } from "@chakra-ui/react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { FeedIcon, ProfileIcon } from "../icons";
|
import { FeedIcon, ProfileIcon, SettingsIcon } from "../icons";
|
||||||
|
|
||||||
export default function MobileBottomNav() {
|
export default function MobileBottomNav() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
import { Button, Flex, IconButton, Text, useDisclosure } from "@chakra-ui/react";
|
import { Flex, IconButton, Text, useDisclosure } from "@chakra-ui/react";
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { Link, useLocation } from "react-router-dom";
|
import { Link, useLocation } from "react-router-dom";
|
||||||
import { useCurrentAccount } from "../../hooks/use-current-account";
|
import { useCurrentAccount } from "../../hooks/use-current-account";
|
||||||
import accountService from "../../services/account";
|
|
||||||
import { ConnectedRelays } from "../connected-relays";
|
import { ConnectedRelays } from "../connected-relays";
|
||||||
import { NotificationIcon } from "../icons";
|
import { NotificationIcon } from "../icons";
|
||||||
import { UserAvatar } from "../user-avatar";
|
import { UserAvatar } from "../user-avatar";
|
||||||
@@ -37,7 +36,7 @@ export default function MobileHeader() {
|
|||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
{isOpen && <MobileSideDrawer isOpen={isOpen} onClose={onClose} />}
|
<MobileSideDrawer isOpen={isOpen} onClose={onClose} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@@ -15,9 +15,7 @@ import {
|
|||||||
} from "@chakra-ui/react";
|
} from "@chakra-ui/react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { RelayUrlInput } from "../../components/relay-url-input";
|
import { RelayUrlInput } from "../../components/relay-url-input";
|
||||||
import { normalizeToHex } from "../../helpers/nip-19";
|
|
||||||
import accountService from "../../services/account";
|
import accountService from "../../services/account";
|
||||||
import clientRelaysService from "../../services/client-relays";
|
|
||||||
import { useDebounce } from "react-use";
|
import { useDebounce } from "react-use";
|
||||||
import dnsIdentityService from "../../services/dns-identity";
|
import dnsIdentityService from "../../services/dns-identity";
|
||||||
import { CheckIcon } from "../../components/icons";
|
import { CheckIcon } from "../../components/icons";
|
||||||
|
@@ -24,7 +24,6 @@ import { truncatedId } from "../../helpers/nostr-event";
|
|||||||
import { Bech32Prefix, normalizeToBech32 } from "../../helpers/nip-19";
|
import { Bech32Prefix, normalizeToBech32 } from "../../helpers/nip-19";
|
||||||
import { KeyIcon, SettingsIcon } from "../../components/icons";
|
import { KeyIcon, SettingsIcon } from "../../components/icons";
|
||||||
import { CopyIconButton } from "../../components/copy-icon-button";
|
import { CopyIconButton } from "../../components/copy-icon-button";
|
||||||
import accountService from "../../services/account";
|
|
||||||
import { UserFollowButton } from "../../components/user-follow-button";
|
import { UserFollowButton } from "../../components/user-follow-button";
|
||||||
import { useAppTitle } from "../../hooks/use-app-title";
|
import { useAppTitle } from "../../hooks/use-app-title";
|
||||||
import { useCurrentAccount } from "../../hooks/use-current-account";
|
import { useCurrentAccount } from "../../hooks/use-current-account";
|
||||||
|
Reference in New Issue
Block a user