mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-19 19:46:34 +00:00
re-enabled note metadata
This commit is contained in:
parent
49f716a7d4
commit
a3ff254bc3
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user