feat: organized config

This commit is contained in:
Shusui MOYATANI
2023-05-20 03:58:36 +09:00
parent 067b0a2973
commit 9c902b1b40
6 changed files with 190 additions and 83 deletions

View File

@@ -105,6 +105,7 @@ const TextNoteContentDisplay = (props: TextNoteContentDisplayProps) => {
if (item.type === 'CustomEmoji') {
const emojiUrl = event().getEmojiUrl(item.shortcode);
if (emojiUrl == null) return <span>{item.content}</span>;
// const { imageRef, canvas } = useImageAnimation({ initialPlaying: false });
return (
<img
class="inline-block h-8 max-w-[128px] align-middle"