fix collab user

This commit is contained in:
Philipinho
2024-04-26 22:59:57 +01:00
parent 4667d81f57
commit 390d58793a
3 changed files with 28 additions and 26 deletions

View File

@ -0,0 +1,13 @@
export const userColors = [
"#958DF1",
"#F98181",
"#FBBC88",
"#FAF594",
"#70CFF8",
"#94FADB",
"#B9F18D",
];
export function randomElement(array: Array<any>) {
return array[Math.floor(Math.random() * array.length)];
}