mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
demos: update collab rooms
This commit is contained in:
parent
a6d6f4e7ae
commit
da2d3d4165
@ -16,7 +16,7 @@ import MenuBar from './MenuBar'
|
|||||||
import './styles.scss'
|
import './styles.scss'
|
||||||
|
|
||||||
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
||||||
const rooms = ['rooms.7', 'rooms.8', 'rooms.9']
|
const rooms = ['rooms.10', 'rooms.11', 'rooms.12']
|
||||||
const names = [
|
const names = [
|
||||||
'Lea Thompson',
|
'Lea Thompson',
|
||||||
'Cyndi Lauper',
|
'Cyndi Lauper',
|
||||||
|
@ -40,9 +40,9 @@ const getRandomElement = list => {
|
|||||||
|
|
||||||
const getRandomRoom = () => {
|
const getRandomRoom = () => {
|
||||||
return getRandomElement([
|
return getRandomElement([
|
||||||
'rooms.7',
|
'rooms.10',
|
||||||
'rooms.8',
|
'rooms.11',
|
||||||
'rooms.9',
|
'rooms.12',
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user