update lib storage

This commit is contained in:
Ren Amamiya
2023-06-10 08:01:13 +07:00
parent 61ab719a2f
commit 3f85ef6224
18 changed files with 18 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
import { NoteReply } from "@app/note/components/metadata/reply";
import { NoteRepost } from "@app/note/components/metadata/repost";
import { NoteZap } from "@app/note/components/metadata/zap";
import { createReplyNote } from "@libs/storage";
import { NDKEvent } from "@nostr-dev-kit/ndk";
import { NDKSubscription } from "@nostr-dev-kit/ndk";
import { RelayContext } from "@shared/relayProvider";
import { createReplyNote } from "@utils/storage";
import { decode } from "light-bolt11-decoder";
import { useContext, useState } from "react";
import useSWRSubscription from "swr/subscription";

View File

@@ -2,9 +2,9 @@ import { Kind1 } from "@app/note/components/kind1";
import { NoteMetadata } from "@app/note/components/metadata";
import { RepliesList } from "@app/note/components/replies/list";
import { NoteDefaultUser } from "@app/note/components/user/default";
import { getNoteByID } from "@libs/storage";
import { usePageContext } from "@utils/hooks/usePageContext";
import { noteParser } from "@utils/parser";
import { getNoteByID } from "@utils/storage";
import useSWR from "swr";
const fetcher = ([, id]) => getNoteByID(id);