This commit is contained in:
Ren Amamiya
2023-07-23 21:39:04 +07:00
parent 71c4f3db22
commit 22a678ec08
16 changed files with 49 additions and 20 deletions

View File

@@ -32,7 +32,7 @@ export function NoteReaction({ id, pubkey }: { id: string; pubkey: string }) {
const [open, setOpen] = useState(false);
const [reaction, setReaction] = useState<string | null>(null);
const publish = usePublish();
const { publish } = usePublish();
const getReactionImage = (content: string) => {
const reaction: { img: string } = REACTIONS.find((el) => el.content === content);