fix(ui): notes timestamp whil creating
This commit is contained in:
parent
2c8477d403
commit
50f706db13
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ function CreateNote({
|
|||
const note: WriteNote = {
|
||||
message: text,
|
||||
tag,
|
||||
timestamp: useTimestamp ? (isEdit ? editNote.timestamp : time) : -1,
|
||||
timestamp: useTimestamp ? Math.floor((isEdit ? editNote.timestamp : time)) : -1,
|
||||
isPublic,
|
||||
};
|
||||
const onSuccess = (noteId: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue