mirror of
https://github.com/standardnotes/app
synced 2026-10-07 18:14:31 -04:00
fix: show correct "Last modified date" for note (#742)
Co-authored-by: Aman Harwara <[email protected]>
This commit is contained in:
co-authored by
Aman Harwara
parent
b2877a5435
commit
0193eea1f5
@@ -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