mirror of
https://github.com/lumehq/lume.git
synced 2025-09-27 21:47:16 +02:00
re-enabled note metadata
This commit is contained in:
@@ -4,7 +4,6 @@ import { RelayContext } from '@components/relaysProvider';
|
|||||||
|
|
||||||
import { relaysAtom } from '@stores/relays';
|
import { relaysAtom } from '@stores/relays';
|
||||||
|
|
||||||
import { dateToUnix } from '@utils/getDate';
|
|
||||||
import { createCacheCommentNote } from '@utils/storage';
|
import { createCacheCommentNote } from '@utils/storage';
|
||||||
|
|
||||||
import { useAtomValue } from 'jotai';
|
import { useAtomValue } from 'jotai';
|
||||||
@@ -27,7 +26,6 @@ export default function NoteMetadata({
|
|||||||
const [likes, setLikes] = useState(0);
|
const [likes, setLikes] = useState(0);
|
||||||
const [comments, setComments] = useState(0);
|
const [comments, setComments] = useState(0);
|
||||||
|
|
||||||
/*
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const unsubscribe = pool.subscribe(
|
const unsubscribe = pool.subscribe(
|
||||||
[
|
[
|
||||||
@@ -67,7 +65,6 @@ export default function NoteMetadata({
|
|||||||
unsubscribe;
|
unsubscribe;
|
||||||
};
|
};
|
||||||
}, [eventID, eventTime, pool, relays]);
|
}, [eventID, eventTime, pool, relays]);
|
||||||
*/
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative z-10 -ml-1 flex items-center gap-8">
|
<div className="relative z-10 -ml-1 flex items-center gap-8">
|
||||||
|
Reference in New Issue
Block a user