repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use same lock values as mobile clients
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
helpers
/
generateUID.ts
blob
c9cb41098068512f59e9ef880c7f485684802655
1
let current = 0;
2
3
const generateUID = (prefix?: string) => `${prefix || 'id'}-${current++}`;
4
5
export default generateUID;