mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add element.updated
(#4070)
This commit is contained in:
parent
dac970c640
commit
f9d2d537a2
14 changed files with 500 additions and 4 deletions
|
@ -470,3 +470,6 @@ export const bytesToHexString = (bytes: Uint8Array) => {
|
|||
.map((byte) => `0${byte.toString(16)}`.slice(-2))
|
||||
.join("");
|
||||
};
|
||||
|
||||
export const getUpdatedTimestamp = () =>
|
||||
process.env.NODE_ENV === "test" ? 1 : Date.now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue