mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 11:49:02 +08:00
docs: rotate rooms
This commit is contained in:
parent
c187e0e258
commit
14b166e7e8
@ -18,7 +18,7 @@ import * as Y from 'yjs'
|
|||||||
import MenuBar from './MenuBar'
|
import MenuBar from './MenuBar'
|
||||||
|
|
||||||
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
const colors = ['#958DF1', '#F98181', '#FBBC88', '#FAF594', '#70CFF8', '#94FADB', '#B9F18D']
|
||||||
const rooms = ['rooms.70', 'rooms.71', 'rooms.72']
|
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.70',
|
'rooms.10',
|
||||||
'rooms.71',
|
'rooms.11',
|
||||||
'rooms.72',
|
'rooms.12',
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user