mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
* [web] Move chat client id to shared module * [web] Avoid double indexing of client references GitOrigin-RevId: 993930e66fdc9952649e3e8d345c70dd37516121
8 lines
160 B
TypeScript
8 lines
160 B
TypeScript
import { v4 as uuid } from 'uuid'
|
|
|
|
// Wrap uuid in an object method so that it can be stubbed
|
|
const clientId = uuid()
|
|
export default {
|
|
get: () => clientId,
|
|
}
|