change note seen timeout 2000 -> 1000
This commit is contained in:
parent
280a7eaac2
commit
47e0c5a8cc
@ -55,7 +55,7 @@ export function Note(props: NoteProps) {
|
||||
if (setSeenAtInView) {
|
||||
timeout = setTimeout(() => {
|
||||
Relay.setEventMetadata(ev.id, { seen_at: Math.round(Date.now() / 1000) });
|
||||
}, 2000);
|
||||
}, 1000);
|
||||
}
|
||||
return () => clearTimeout(timeout);
|
||||
}, [setSeenAtInView]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user