mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 12:39:03 +08:00
fix linting errors
This commit is contained in:
parent
491f4c2d26
commit
6da9f9cd93
@ -44,15 +44,12 @@ export default {
|
||||
this.items.forEach(({ title, link, items }) => {
|
||||
flattenedItems.push({
|
||||
title,
|
||||
link
|
||||
link,
|
||||
})
|
||||
|
||||
if (items) {
|
||||
items.forEach(({ title, link }) => {
|
||||
flattenedItems.push({
|
||||
title,
|
||||
link
|
||||
})
|
||||
items.forEach(child => {
|
||||
flattenedItems.push(child)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user