mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
Merge pull request #3475 from ueberdosis/feature/change-rooms-in-collab-demo
docs: rotate demo rooms
This commit is contained in:
commit
a41aa1f6e1
@ -18,7 +18,7 @@ import * as Y from 'yjs'
|
||||
import MenuBar from './MenuBar'
|
||||
|
||||
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
||||
const rooms = ['rooms.60', 'rooms.61', 'rooms.62']
|
||||
const rooms = ['rooms.70', 'rooms.71', 'rooms.72']
|
||||
const names = [
|
||||
'Lea Thompson',
|
||||
'Cyndi Lauper',
|
||||
|
@ -40,9 +40,9 @@ const getRandomElement = list => {
|
||||
|
||||
const getRandomRoom = () => {
|
||||
return getRandomElement([
|
||||
'rooms.60',
|
||||
'rooms.61',
|
||||
'rooms.62',
|
||||
'rooms.70',
|
||||
'rooms.71',
|
||||
'rooms.72',
|
||||
])
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user