Fix imports

This commit is contained in:
Kieran 2023-06-26 11:30:37 +01:00
parent a61e17c93b
commit bdd2404bf7
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
17 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@ import { HexKey, TaggedRawEvent } from "@snort/system";
import Note from "Element/Note";
import useLogin from "Hooks/useLogin";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import messages from "./messages";

View File

@ -10,7 +10,7 @@ import Icon from "Icons/Icon";
import { kvToObject } from "SnortUtils";
import AsyncButton from "Element/AsyncButton";
import { useWallet } from "Wallet";
import { PaymentsCache } from "cache";
import { PaymentsCache } from "Cache";
import { Payment } from "Db";
import PageSpinner from "Element/PageSpinner";
import { LiveVideoPlayer } from "Element/LiveVideoPlayer";

View File

@ -22,7 +22,7 @@ import useEventPublisher from "Feed/EventPublisher";
import { debounce } from "SnortUtils";
import useLogin from "Hooks/useLogin";
import SnortServiceProvider from "Nip05/SnortServiceProvider";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import messages from "./messages";
import { System } from "index";

View File

@ -24,7 +24,7 @@ import NoteFooter, { Translation } from "Element/NoteFooter";
import NoteTime from "Element/NoteTime";
import Reveal from "Element/Reveal";
import useModeration from "Hooks/useModeration";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import Poll from "Element/Poll";
import useLogin from "Hooks/useLogin";
import { setBookmarked, setPinned } from "Login";

View File

@ -8,7 +8,7 @@ import AsyncButton from "Element/AsyncButton";
import { useWallet } from "Wallet";
import { Toastore } from "Toaster";
import { getDisplayName } from "Element/ProfileImage";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import useLogin from "Hooks/useLogin";
import useEventPublisher from "Feed/EventPublisher";
import { WalletInvoiceState } from "Wallet";

View File

@ -9,7 +9,7 @@ import { NostrPrefix, MetadataCache } from "@snort/system";
import Avatar from "Element/Avatar";
import Nip05 from "Element/Nip05";
import { hexToBech32 } from "SnortUtils";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import messages from "./messages";

View File

@ -15,7 +15,7 @@ import NoteReaction from "Element/NoteReaction";
import useModeration from "Hooks/useModeration";
import ProfilePreview from "Element/ProfilePreview";
import Skeleton from "Element/Skeleton";
import { UserCache } from "cache";
import { UserCache } from "Cache";
export interface TimelineProps {
postsOnly: boolean;

View File

@ -12,7 +12,7 @@ import { addSubscription, setBlocked, setBookmarked, setFollows, setMuted, setPi
import { SnortPubKey } from "Const";
import { SubscriptionEvent } from "Subscription";
import useRelaysFeedFollows from "./RelaysFeedFollows";
import { UserRelays } from "cache";
import { UserRelays } from "Cache";
import { System } from "index";
import { Nip29Chats, Nip4Chats } from "chat";

View File

@ -12,7 +12,7 @@ import { useRequestBuilder } from "@snort/system-react";
import debug from "debug";
import { sanitizeRelayUrl } from "SnortUtils";
import { UserRelays } from "cache";
import { UserRelays } from "Cache";
import { System } from "index";
interface RelayList {

View File

@ -3,7 +3,7 @@ import { HexKey, EventKind, FlatNoteStore, RequestBuilder, parseZap } from "@sno
import { useRequestBuilder } from "@snort/system-react";
import { System } from "index";
import { UserCache } from "cache";
import { UserCache } from "Cache";
export default function useZapsFeed(pubkey?: HexKey) {
const sub = useMemo(() => {

View File

@ -1,7 +1,7 @@
import { useSyncExternalStore } from "react";
import { HexKey, u256 } from "@snort/system";
import { InteractionCache } from "cache";
import { InteractionCache } from "Cache";
import { EventInteraction } from "Db";
import { sha256, unwrap } from "SnortUtils";

View File

@ -4,7 +4,7 @@ import { TaggedRawEvent, EventKind, MetadataCache } from "@snort/system";
import { getDisplayName } from "Element/ProfileImage";
import { MentionRegex } from "Const";
import { tagFilterOfTextRepost, unwrap } from "SnortUtils";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import { LoginSession } from "Login";
export interface NotificationRequest {

View File

@ -7,7 +7,7 @@ import { useUserProfile } from "@snort/system-react";
import Logo from "Element/Logo";
import useEventPublisher from "Feed/EventPublisher";
import useLogin from "Hooks/useLogin";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import AvatarEditor from "Element/AvatarEditor";
import { DISCOVER } from ".";
import { System } from "index";

View File

@ -11,7 +11,7 @@ import useEventPublisher from "Feed/EventPublisher";
import { openFile } from "SnortUtils";
import useFileUpload from "Upload";
import AsyncButton from "Element/AsyncButton";
import { UserCache } from "cache";
import { UserCache } from "Cache";
import useLogin from "Hooks/useLogin";
import AvatarEditor from "Element/AvatarEditor";
import Icon from "Icons/Icon";

View File

@ -1,4 +1,4 @@
import { UserCache } from "cache";
import { UserCache } from "Cache";
import { getDisplayName } from "Element/ProfileImage";
import { LNURL, ExternalStore, unixNow } from "@snort/shared";
import { Toastore } from "Toaster";

View File

@ -2,7 +2,7 @@ import { useSyncExternalStore } from "react";
import { Nip4ChatSystem } from "./nip4";
import { EventKind, EventPublisher, NostrEvent, RequestBuilder, SystemInterface, UserMetadata } from "@snort/system";
import { unwrap } from "@snort/shared";
import { Chats } from "cache";
import { Chats } from "Cache";
import { findTag, unixNow } from "SnortUtils";
import { Nip29ChatSystem } from "./nip29";

View File

@ -34,7 +34,7 @@ import { SubscribeRoutes } from "Pages/subscribe";
import ZapPoolPage from "Pages/ZapPool";
import DebugPage from "Pages/Debug";
import { db } from "Db";
import { preload, RelayMetrics, UserCache, UserRelays } from "cache";
import { preload, RelayMetrics, UserCache, UserRelays } from "Cache";
import { LoginStore } from "Login";
import { LivePage } from "Pages/LivePage";