fix: show correct "Last modified date" for note (#742)
Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
This commit is contained in:
@@ -85,8 +85,8 @@ const NoteAttributes: FunctionComponent<{ note: SNNote }> = ({ note }) => {
|
||||
);
|
||||
|
||||
const dateLastModified = useMemo(
|
||||
() => formatDate(note.serverUpdatedAt),
|
||||
[note.serverUpdatedAt]
|
||||
() => formatDate(note.userModifiedDate),
|
||||
[note.userModifiedDate]
|
||||
);
|
||||
|
||||
const dateCreated = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user