refactor: optimize bundle size

This commit is contained in:
2023-12-05 12:58:17 +00:00
parent 6905fb63fd
commit 13edd58987
21 changed files with 501 additions and 293 deletions

View File

@ -1,9 +1,8 @@
import { useMemo } from "react";
import uniqBy from "lodash.uniqby";
import { NostrEvent, NoteCollection, ReplaceableNoteStore, RequestBuilder } from "@snort/system";
import { useRequestBuilder } from "@snort/system-react";
import { findTag } from "@/utils";
import { findTag, uniqBy } from "@/utils";
import { EMOJI_PACK, USER_EMOJIS } from "@/const";
import type { EmojiPack, EmojiTag, Tags } from "@/types";